fixup mention the added headers if that option is used

This commit is contained in:
Daniel Stenberg 2026-03-03 13:39:44 +01:00
parent a0b1c3f35d
commit 4ed858e2ca
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 3 additions and 2 deletions

View file

@ -195,7 +195,8 @@ The URL scheme (sometimes called protocol) that was effectively used. (Added in
## `size_delivered`
The total amount of data that were saved or written to stdout. When
--compressed is used, this is likely different than `size_download`.
--compressed is used, this is likely different than `size_download`. Includes
the headers in the count if --include is used.
## `size_download`
The total amount of bytes that were downloaded. This is the size of the

View file

@ -34,7 +34,7 @@ Pass a pointer to a *curl_off_t* to receive the total amount of bytes that
were passed on to the write callback in the download. The amount is only for
the latest transfer and gets reset again for each new transfer. This counts
actual payload data, what's also commonly called body. All meta and header
data is excluded from this amount.
data is excluded from this amount (unless CURLOPT_HEADER(3) is set).
The delivered size may differ from the size retrieved with
CURLINFO_SIZE_DOWNLOAD_T(3) when CURLOPT_ACCEPT_ENCODING(3) is used for