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

error when XHR contentType is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            pmuellr Patrick Mueller
            pmuellr Patrick Mueller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: