cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-13848) Weinre: Refused to get unsafe header "Content-Length"
Date Fri, 02 Feb 2018 06:28:00 GMT

    [ https://issues.apache.org/jira/browse/CB-13848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349854#comment-16349854
] 

Patrick Mueller commented on CB-13848:
--------------------------------------

It looks like the code that gets the content-length could probably be wrapped in a try/catch,
seems survivable for {{expectedContentLength}} to be {{undefined}} in the end.

Perhaps a better story would be an easy way to toggle the network tracking off, seems like
it will be a likely source of errors as the browser change things in this area.

In any case, it's not likely I'll get around to fixing this, I don't have time to work on
weinre anymore.  Best bet is to use the existing native debuggers for your platforms.  For
more info on that, see the yellow box at: https://people.apache.org/~pmuellr/weinre/docs/latest/Home.html

> Weinre: Refused to get unsafe header "Content-Length"
> -----------------------------------------------------
>
>                 Key: CB-13848
>                 URL: https://issues.apache.org/jira/browse/CB-13848
>             Project: Apache Cordova
>          Issue Type: Bug
>            Reporter: Kristoffer Lundén
>            Priority: Major
>         Attachments: weinre.png
>
>
> {{Weire *2.0.0-pre-I0Z7U9OV* from [https://www.npmjs.com/package/weinre.] }}
>  
> {{CORS/Ajax issue, server needs to add the header: }}{{Access-Control-Expose-Headers,
see [https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Access-Control-Expose-Headers]}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message