Add QUERY HTTP method to the list of allowed methods - #1075
Open
dingo-d wants to merge 1 commit into
Open
Conversation
Member
Please use the canonical source everywhere (whichever that is). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Type
This is a:
Context
New HTTP method has been approved (https://www.rfc-editor.org/info/rfc10008/), this PR aims to add the support for it in the Requests lib.
Detailed Description
PR for issue #1074.
The PR adds new constant for the new HTTP method and the helper method that accompanies it.
I have also made a PR for the CI server for tests: RequestsPHP/test-server#13.
In the links I used www.rfc-editor.org instead of tools.ietf.org, I can change this if needed.
I tried testing locally, but had issues running the test server, so I'm hoping CI tests will pass once the CI server gets updated.
Quality assurance
Documentation
For new features:
examplesdirectory.docsdirectory.If the documentation is in a new markdown file, I have added a link to this new file to the Docs folder
README.mdfile.