You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
The passed headers are being made ucfirst() by default. Which is unnecessary according to HTTP 1.1 (https://www.w3.org/Protocols/rfc2616/rfc2616.html and which was not changed in https://tools.ietf.org/html/rfc7230#appendix-A.2).
See:
https://github.com/zendframework/zend-http/blob/master/src/Client/Adapter/Socket.php#L384
We are facing an issue were an API provider is checking for a case sensitive x- header (which of course is not HTTP 1.1 compliant).
Code to reproduce the issue
Expected results
The header parameter should have been the way it has been given:
x-my-test: myTest
Actual results
The header is being upper cased for the first char resulting in:
X-my-test: myTest
The text was updated successfully, but these errors were encountered: