Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-9343

MimeType is not the same as Content-Type

    XMLWordPrintableJSON

Details

    Description

      In CordovaResourceApi (and maybe elsewhere) mimetype is set with the value of the header "Content-Type" but when "Content-Type" contains the charset (ex: "text/html; charset=utf-8") the mimetype is incorrect and lead to problems when loaded as WebResourceResponse.

      ex: webpages loaded as raw HTML

      "Content-Type" should be splitted at the ";"

      Attachments

        Activity

          People

            Unassigned Unassigned
            spirann Simon Pireyn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: