Hi,

 

I’m using Crosswalk in my Cordova app.  Crosswalk is preventing my app from 
sending header cookies.  Here’s the test code I’m using to send a custom header:

 

request.open('GET',’http://myurl.com’);

request.withCredentials = true;

request.setRequestHeader('Accept', 'application/json');

request.setRequestHeader('Content-Type', 'application/json');

request.setRequestHeader('Cookie', 'test=1234');

request.setRequestHeader('Test', 'test');

request.send();

 

Looking at the network log, I can see that everything accept the cookie was 
sent.  The console logged the following error:

 

Refused to set unsafe header "Cookie"

 

Please help me with this issue!!

 

Adrian

_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to