CURLINFO_REQUEST_SIZE: fixed, add tests for transfer infos reported

- tests for 'size_request' and other stats reported, for
  presence and consistency

Reported-by: Jonatan Vela
Fixes #13269
Closes #13275
This commit is contained in:
Stefan Eissing 2024-04-04 11:06:06 +02:00 committed by Daniel Stenberg
parent 0a4419ae4c
commit 8482ce53dd
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 166 additions and 0 deletions

View file

@ -392,6 +392,7 @@ class Httpd:
lines = []
if Httpd.MOD_CURLTEST is not None:
lines.extend([
f' Redirect 302 /data.json.302 /data.json',
f' Redirect 301 /curltest/echo301 /curltest/echo',
f' Redirect 302 /curltest/echo302 /curltest/echo',
f' Redirect 303 /curltest/echo303 /curltest/echo',