New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cookie headers are received but not shown in devtools when using 'http' #1852
Comments
I've created a repro for this: https://github.com/yoshuawuyts/electron-cookie-issues-repro. It appears update: 05/06/2014: It appears the only bug in electron is that cookie related headers aren't shown when fetching data. electron blocks cookie headersUsing Steps to reproduce (repro)
Actual results
Expected results
Screenshotselectronchrome |
Thanks for the detailed information. I can say that the I have no much idea about why dev-tools doesn't show the cookies header here, it might be a bug of dev-tools. |
@hokein I'm not seeing any cookies in there, both with edit: also tried the |
You were right, it was a header issue. Incidentally edit: I've also updated the repro with the solution in the |
Update: due to #1574 const nets = require('xhr') As a remark on the side: I wouldn't have expected that doing XHR requests with cookie authentication would have so many gotchas. I wish the |
@zcbenz do you know if
electron
blocks theSet-Cookie
header by default? Responses that carry this in the browser don't seem to have it inelectron
.I read through the source, couldn't find any code that would point to that, but checking just in case this is true. Possibly related / of use to #1606.
The text was updated successfully, but these errors were encountered: