Skip to content

Fix bad empty headers#159

Merged
andig merged 1 commit intophp-pm:masterfrom
acasademont:fix_bad_header
Jul 2, 2019
Merged

Fix bad empty headers#159
andig merged 1 commit intophp-pm:masterfrom
acasademont:fix_bad_header

Conversation

@acasademont
Copy link
Contributor

With guzzlehttp/psr7 recent changes (https://github.com/guzzle/psr7/pull/250/files#diff-5abca4d9d5693da46d10a54795b1192dR164) a header with an empty array is now not allowed. Therefore, if there are no cookies to be sent, we shouldn't even set the cookies header. Tests were currently failing if installing guzzlehttp/psr7 >= 1.6.1

@andig andig merged commit 537a2c6 into php-pm:master Jul 2, 2019
@acasademont acasademont deleted the fix_bad_header branch July 2, 2019 17:33
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.

2 participants