Skip to content

Tracing sent post request body and comparing it with one made by requests lib #5292

Discussion options

You must be logged in to vote

UPDATE:

So, i tried requesting my local server with same data, and turns out that password field in getting sent as a file stream in aiohttp, while requests is sending them as bytes (as they should be). Is there a way to omit this behavior? I've tried adding content-type of application/octet-stream which were suggested on Mulitpart wiki page, but that haven't change anything

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@webknjaz
Comment options

@SanctusAnimus
Comment options

@webknjaz
Comment options

@SanctusAnimus
Comment options

Answer selected by SanctusAnimus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants