Skip to content

Conversation

@GuyPaddock
Copy link

@GuyPaddock GuyPaddock commented Aug 13, 2019

PSR-7 requires a method to be set on Request objects at the time they are created, but the Operation object previously defaulted the method to an empty string. Now we default it to 'GET', which should be a safe choice.

In addition, if a request is mis-configured to force the request method to an empty string, there is now a validation for that.

Closes #166.

(If this should be based off of the develop branch, per #170, let me know and I will rebase it).

…atibility

PSR-7 requires a method to be set on Request objects at the time they
are created, but the Operation object previously defaulted the method to
an empty string. Now we default it to 'GET', which should be a safe
choice.

In addition, if a request is misconfigured to force the request method
to an empty string, there is now a validation for that.

Closes guzzle#166.
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.

Tests Fail with guzzlehttp/psr7 >= 1.6.0

2 participants