[
https://issues.apache.org/jira/browse/CB-9343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633393#comment-14633393
]
ASF GitHub Bot commented on CB-9343:
------------------------------------
Github user vladimir-kotikov commented on the pull request:
https://github.com/apache/cordova-android/pull/197#issuecomment-122842603
LGTM. Not sure, why this submitted against `3.7.x` branch, cherry-picked it
to master.
Also, if you're going to contribute to Apache projects, please sign
Apache's Contributor License Agreement (can be done online):
http://www.apache.org/licenses/#clas
> 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
> Labels: android, content-type, cordova, mime-type, mimeType
>
> 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: [email protected]
For additional commands, e-mail: [email protected]