-
-
Notifications
You must be signed in to change notification settings - Fork 57
Convert Request/Response multiple times #48
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
Conversation
LGTM, but let's replace |
Thank you for the review. Rebased! |
Fabbot is happy =) Just going to fix the test.. Doing it now |
Tests should be green now |
4e92add
to
8564bf7
Compare
Thank you @Nyholm. |
This PR was squashed before being merged into the 1.2-dev branch (closes #48). Discussion ---------- Convert Request/Response multiple times By doing this we make sure that we do not loose data. Im not sure if this is a good idea or even the intention of the bridge. Could someone give me a thumbs up before I start trying to fix the tests? Commits ------- 8564bf7 Convert Request/Response multiple times
@@ -141,7 +141,7 @@ protected function getTemporaryPath() | |||
public function createResponse(ResponseInterface $psrResponse) | |||
{ | |||
$cookies = $psrResponse->getHeader('Set-Cookie'); | |||
$psrResponse = $psrResponse->withHeader('Set-Cookie', []); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be backported to 1.1.1 because it doesn't work with zendframework/zend-diactoros:1.8.6
which requires PHP 7.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See https://www.drupal.org/project/drupal/issues/3039611#comment-13037090 for more details.
By doing this we make sure that we do not loose data.
Im not sure if this is a good idea or even the intention of the bridge. Could someone give me a thumbs up before I start trying to fix the tests?