Replies: 1 comment 4 replies
|
I messed up. Once the async with has been entered, that means the server has sent the headers in response. Most servers don't begin any response until they've read the entire request... |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi 👋
with 3.14 the new
output_sizeandupload_completeClientResponse attributes (#12452) were introduced to allow the consumer to track the upload progress. Therefore the following example code has been documented:But when using this, where
mpwriteris an instance ofMultipartWriter, we only get the final "upload complete: nnn bytes" message printed, but never the progress messages "uploaded nnn bytes". It seems that the context manager only enters after thepostitself is completed 🤔All reactions