[
https://issues.apache.org/jira/browse/CB-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Mueller resolved CB-182.
--------------------------------
Resolution: Fixed
> error when XHR contentType is null
> ----------------------------------
>
> Key: CB-182
> URL: https://issues.apache.org/jira/browse/CB-182
> Project: Apache Callback
> Issue Type: Bug
> Components: weinre
> Reporter: Patrick Mueller
> Assignee: Patrick Mueller
>
> There's a bug one or two people have run into recently in weinre, when XHR
> requests return {{null}} for {{xhr.getResponseHeader("Content-Type")}}.
> Locus of the problem is in the {{getResponse()}} function of
> {{target/NetworkRequest.coffee}}. When a {{null}} is returned, it's passed
> to {{splitContentType()}} which throws an error as it sends the {{null}} a
> string method.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira