Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

update requests compatibility docs on query and form params #2461

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

falkben
Copy link
Sponsor Contributor

@falkben falkben commented Nov 22, 2022

Following up on #2330 (reply in thread) I added a note about requests compatibility with form data and query params -- namely that httpx only supports dictionaries whereas requests also supports lists of tuples.

As suggested, I added this note after the Query Parameters section, however, it might also bear mentioning in the Request Content section?

Copy link
Member

@tomchristie tomchristie left a comment

Choose a reason for hiding this comment

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

Looks good, yup.

@tomchristie tomchristie merged commit 8e5e3b8 into encode:master Nov 25, 2022
@tomchristie
Copy link
Member

however, it might also bear mentioning in the Request Content section?

Not sure. We could leave it as-is and await further feedback perhaps?

@falkben
Copy link
Sponsor Contributor Author

falkben commented Nov 25, 2022

however, it might also bear mentioning in the Request Content section?

Not sure. We could leave it as-is and await further feedback perhaps?

Sounds good!

@falkben falkben deleted the requests_compat_params_form branch November 25, 2022 14:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants