Skip to content
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

aiohttp: Allow both data and json arguments #624

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leorochael
Copy link

If at least one of them is None.

Previously, a data=None parameter would cause the json=... parameter to be ignored, resulting in an empty request body payload on the cassette.

Fixes #623

If at least one of them is `None`.

Previously, a `data=None` parameter would cause the `json` parameter to
be ignored, resulting in an empty request body payload on the cassette.
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.

aiohttp: json payload ignored when data keyword is set to None instead of being absent.
1 participant