]> git.ipfire.org Git - thirdparty/curl.git/commit
http: have CURLOPT_FAILONERROR fail after all headers
authorDaniel Stenberg <daniel@haxx.se>
Mon, 4 Jan 2021 17:28:42 +0000 (18:28 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 6 Jan 2021 14:14:40 +0000 (15:14 +0100)
commitab525c059eb44883db32c728a667a2a65974e37c
tree66dd29f7631f37a0abb5367676bfcf696968530c
parent9d7281ff1787d83e8e96bb3fc9441ae4cba0cd08
http: have CURLOPT_FAILONERROR fail after all headers

... so that Retry-After and other meta-content can still be used.

Added 1634 to verify. Adjusted test 194 and 281 since --fail now also
includes the header-terminating CRLF in the output before it exits.

Fixes #6408
Closes #6409
lib/http.c
tests/data/Makefile.inc
tests/data/test1634 [new file with mode: 0644]
tests/data/test194
tests/data/test281