You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Patrick Mueller (Closed) (JIRA)" <ji...@apache.org> on 2012/01/19 14:25:38 UTC

[jira] [Closed] (CB-182) error when XHR contentType is null

     [ https://issues.apache.org/jira/browse/CB-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Mueller closed CB-182.
------------------------------


DUP
                
> 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