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 69c6cda944
commit af9417ddfc
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 11 additions and 1 deletions

View file

@ -50,7 +50,7 @@ http
HTTP GET gzip compressed content
</name>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed -s -w '%{stderr}%{size_delivered}\n'
</command>
</client>
@ -67,5 +67,8 @@ Accept: */*
Accept-Encoding: xxx
</protocol>
<stderr>
24
</stderr>
</verify>
</testcase>