curl-curl/tests/http/testenv
Stefan Eissing 71bb004c29
http: fail early when rewind of input failed when following redirects
When inspecting a possible follow HTTP request, the result of a rewind
of the upload data was ignored as it was not clear at that point in time
if the request would become a GET.

This initiated the followup, rewound again, which failed again and
terminated the follow up.

This was confusing to users as it was not clear of the follow up was
done or not.

Fix: fail the early rewind when the request is not converted to GET.

Fixes #17472
Closes #17474
Reported-by: Jeroen Ooms
2025-05-28 14:53:02 +02:00
..
mod_curltest http: fix HTTP/2 handling of TE request header using "trailers" 2025-04-22 15:55:36 +02:00
__init__.py tests: change Python code style to pass ruff checks 2024-10-04 14:02:05 -07:00
caddy.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
certs.py pytest: add pinnedpubkey test cases 2025-05-21 22:45:42 +02:00
client.py tests: allow pytests to run in out-of-tree builds 2024-10-12 10:47:57 -07:00
curl.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
env.py pytest: enable in 5 GHA jobs, fix fallouts 2025-05-19 15:38:05 +02:00
httpd.py http: fail early when rewind of input failed when following redirects 2025-05-28 14:53:02 +02:00
nghttpx.py pytest tls: extend coverage 2025-05-19 13:30:02 +02:00
ports.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
vsftpd.py pytest-xdist: pytest in parallel 2025-05-15 21:44:31 +02:00
ws_echo_server.py tests: change Python code style to pass ruff checks 2024-10-04 14:02:05 -07:00