Skip to content

Conversation

@lovelydinosaur
Copy link
Contributor

@lovelydinosaur lovelydinosaur commented Sep 7, 2020

Closes #1210

Adds support for eg. httpx.post(..., content=<bytes|byte iterator|byte aiterator>) for uploading raw content.
This is distinct from httpx.post(..., data=<dict>) for sending form data.

See also #1265.

@lovelydinosaur lovelydinosaur added the user-experience Ensuring that users have a good experience using the library label Sep 7, 2020
@lovelydinosaur lovelydinosaur added this to the v1.0 milestone Sep 10, 2020
@lovelydinosaur
Copy link
Contributor Author

Particularly now that we have Response(content=...) I'd like us to press on with this one.

@lovelydinosaur lovelydinosaur merged commit feb404f into master Sep 15, 2020
@lovelydinosaur lovelydinosaur deleted the request-content branch September 15, 2020 12:36
@lovelydinosaur lovelydinosaur mentioned this pull request Sep 21, 2020
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

user-experience Ensuring that users have a good experience using the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Separate httpx.post(content=...) from httpx(data=...)?

1 participant