We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is a minor enhancement when dealing with JSON requests.
Right now to do a json request we have to do something like this,
headers = { 'Content-Type': 'application/json' } yield Request(url, method='POST', body=json.loads(data), headers=headers)
I'm proposing a new Request subclass that can save a few keystrokes.
yield JSONRequest(url, data=data)
Will be sending a PR for this.
The text was updated successfully, but these errors were encountered:
Merge pull request #3505 from kasun/json_request
af2b666
[MRG+2] Request subclass for json requests #3504
Fixed by #3505 .
Sorry, something went wrong.
No branches or pull requests
This is a minor enhancement when dealing with JSON requests.
Right now to do a json request we have to do something like this,
I'm proposing a new Request subclass that can save a few keystrokes.
Will be sending a PR for this.
The text was updated successfully, but these errors were encountered: