]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add note on streaming uploads (#973)
authorFlorimond Manca <florimond.manca@gmail.com>
Thu, 21 May 2020 14:13:16 +0000 (16:13 +0200)
committerGitHub <noreply@github.com>
Thu, 21 May 2020 14:13:16 +0000 (16:13 +0200)
docs/advanced.md

index 97a440b43bc70806cb208294fd074e655ed80144..eae40a0793c132fccce6c378992cfc1facc45268 100644 (file)
@@ -460,6 +460,9 @@ MIME header field.
 }
 ```
 
+!!! tip
+    It is safe to upload large files this way. File uploads are streaming by default, meaning that only one chunk will be loaded into memory at a time.
 ## Customizing authentication
 
 When issuing requests or instantiating a client, the `auth` argument can be used to pass an authentication scheme to use. The `auth` argument may be one of the following...