-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Header Problems #77
Comments
You may want to iterate over your PSR-7 headers and remove one nesting depth so that it's compatible with React's headers. We should probably eventually implement PSR-7, see also #28. |
I did manage to get it to work finally :) https://github.com/geggleto/slim-service-registry/blob/master/app.php |
Thanks for reporting back and glad you've got this sorted! 👍 I'll assume this is resolved and will close this for now, please feel free to report back otherwise. |
All is good... only suggestion is to hurry up with PSR-7 :P |
Pull requests welcome :) |
Problem:
Array to String Converstion
Description:
PSR-7 dictates the format of the Headers as a key with a collection of header-lines.
Offending Code:
https://github.com/reactphp/http/blob/master/src/Response.php#L85
Reproducible:
Yes
Context:
I was attempting to bridge Slim's PSR-7 HTTP objects into React.
Code:
The text was updated successfully, but these errors were encountered: