Skip to content

Don't make any TRACE requests with a request body #29

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
Jul 10, 2017

Conversation

kelunik
Copy link
Contributor

@kelunik kelunik commented Jul 10, 2017

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets Fixes #28.
License MIT

What's in this PR?

https://tools.ietf.org/html/rfc7231#section-4.3.8 defines that TRACE requests MUST NOT have a request body.

  • Updated CHANGELOG.md to describe the bugfix.

Copy link
Contributor

@dbu dbu left a comment

Choose a reason for hiding this comment

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

looks correct to me

@Nyholm
Copy link
Member

Nyholm commented Jul 10, 2017

@kelunik
Copy link
Contributor Author

kelunik commented Jul 10, 2017

@kelunik
Copy link
Contributor Author

kelunik commented Jul 10, 2017

@Nyholm Fixed by filtering on test data creation instead.

@joelwurtz
Copy link
Member

Thanks !

@joelwurtz joelwurtz merged commit 1f29ae4 into php-http:master Jul 10, 2017
@kelunik kelunik deleted the fix-trace branch July 10, 2017 14:40
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.

Failing test case with TRACE and request body
4 participants