We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
HTTP/Response::getHeaders() returns header like key:<space>value even when the header sent by application is key:value .
key:<space>value
key:value
sendResponse(method, requestTarget, resOrStream, 200, JSON.stringify(incomingHeaders2, null, 2), { 'Content-Type': 'application/json', 'X-Response-Header-Downstream-To-App': 'Value 3', }); }
However when reading headers from laminas/API/response::getHeaders() , I received the headers like:
'Content-Type': 'application/json', 'X-Response-Header-To-App': 'Value 3'
Any node js application which sends header in above format and laminas application received the requests and print headers.
headers should propagated as it is what framework received.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Summary
HTTP/Response::getHeaders() returns header like
key:<space>value
even when the header sent by application iskey:value
.Current behavior
However when reading headers from laminas/API/response::getHeaders() , I received the headers like:
How to reproduce
Any node js application which sends header in above format and laminas application received the requests and print headers.
Expected behavior
headers should propagated as it is what framework received.
The text was updated successfully, but these errors were encountered: