Skip to content

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

Merged
merged 1 commit into from
Mar 11, 2019

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Aug 8, 2018

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?

@nicolas-grekas
Copy link
Member

LGTM, but let's replace Diactoros by your package instead.

@Nyholm
Copy link
Member Author

Nyholm commented Mar 11, 2019

Thank you for the review.

Rebased!

@Nyholm
Copy link
Member Author

Nyholm commented Mar 11, 2019

Fabbot is happy =)

Just going to fix the test.. Doing it now

@Nyholm
Copy link
Member Author

Nyholm commented Mar 11, 2019

Tests should be green now

@nicolas-grekas
Copy link
Member

Thank you @Nyholm.

@nicolas-grekas nicolas-grekas merged commit 8564bf7 into symfony:master Mar 11, 2019
nicolas-grekas added a commit that referenced this pull request Mar 11, 2019
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', []);
Copy link

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

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants