src: add 'size_delivered' as a write-out variable

Verify in test 220
This commit is contained in:
Daniel Stenberg 2026-03-02 22:33:10 +01:00
parent fadfa54d86
commit 1f13cc8946
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 13 additions and 3 deletions

View file

@ -193,6 +193,10 @@ known as "http_code"). (Added in 7.18.2)
## `scheme`
The URL scheme (sometimes called protocol) that was effectively used. (Added in 7.52.0)
## `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`.
## `size_download`
The total amount of bytes that were downloaded. This is the size of the
body/data that was transferred, excluding headers.