From 1d288d46d5334991e08a925bc9edd041989e4fbb Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Tue, 30 Mar 2021 14:22:11 +0200 Subject: [PATCH] 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 --- tests/data/test2081 | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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 -- 2.47.3