You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Simon Pireyn (JIRA)" <ji...@apache.org> on 2015/07/09 19:47:05 UTC

[jira] [Created] (CB-9343) MimeType is not the same as Content-Type

Simon Pireyn created CB-9343:
--------------------------------

             Summary: MimeType is not the same as Content-Type
                 Key: CB-9343
                 URL: https://issues.apache.org/jira/browse/CB-9343
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.7.0
            Reporter: Simon Pireyn


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 ";"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org