-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
stage: ready for workThe issue is reproducible and in scopeThe issue is reproducible and in scopetype: unexpected behaviorUser expected result, but got anotherUser expected result, but got another
Description
Current behavior:
I use the "Authorization" header to authenticate a request but when I post a html form in cypress it changes all the HTTP headers to lowercase, so "Authorization" becomes "authorization" which is refused at backend.
so this is my browser
this is cypress
Desired behavior:
I'd like the request headers to keep their capital letter because it causes issues😋
Steps to reproduce:
Make a small php file with a html form, and when submit print_r(getallheaders());
Versions
Cypress V3.1.2
NodeJS v8.11.4
Npm v6.4.1
I use Chrome v70.0.3538.110 on MacOS Mojave v10.14.1
peter-db and renanpupin
Metadata
Metadata
Assignees
Labels
stage: ready for workThe issue is reproducible and in scopeThe issue is reproducible and in scopetype: unexpected behaviorUser expected result, but got anotherUser expected result, but got another