From: Florimond Manca Date: Thu, 21 May 2020 14:13:16 +0000 (+0200) Subject: Add note on streaming uploads (#973) X-Git-Tag: 0.13.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a58be59adb880e9c98072c4a72617509b8559c3d;p=thirdparty%2Fhttpx.git Add note on streaming uploads (#973) --- diff --git a/docs/advanced.md b/docs/advanced.md index 97a440b4..eae40a07 100644 --- a/docs/advanced.md +++ b/docs/advanced.md @@ -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...