From: Fabian Keil Date: Tue, 30 Mar 2021 12:22:11 +0000 (+0200) Subject: test 2081: add a valid reply for the second request X-Git-Tag: curl-7_84_0~83 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d288d46d5334991e08a925bc9edd041989e4fbb;p=thirdparty%2Fcurl.git test 2081: add a valid reply for the second request ... so the test works when using a HTTP proxy like Privoxy that sends an error message if the server doesn't send data. Closes #8959 --- diff --git a/tests/data/test2081 b/tests/data/test2081 index a6733e737b..add9292522 100644 --- a/tests/data/test2081 +++ b/tests/data/test2081 @@ -19,6 +19,12 @@ Connection: close This server reply is for testing a simple Location: following + +HTTP/1.1 200 This is another weirdo text message swsclose +Connection: close + +Thanks for following. + # Client-side @@ -36,9 +42,6 @@ http://user:pass@%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER#anchor --location --r # Verify data after the test has been "shot" - -52 - GET /we/want/our/%TESTNUMBER HTTP/1.1 Host: %HOSTIP:%HTTPPORT @@ -60,6 +63,10 @@ Location: data/%TESTNUMBER0002.txt?coolsite=yes Content-Length: 62 Connection: close +HTTP/1.1 200 This is another weirdo text message swsclose +Connection: close + +Thanks for following. http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER