From a42b0957ab31c971a79bfe5542b3017fd834ac49 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 5 Aug 2019 09:45:23 +0200 Subject: http09: disable HTTP/0.9 by default in both tool and library As the plan has been laid out in DEPRECATED. Update docs accordingly and verify in test 1174. Now requires the option to be set to allow HTTP/0.9 responses. Closes #4191 --- tests/data/test1174 | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 tests/data/test1174 (limited to 'tests/data/test1174') diff --git a/tests/data/test1174 b/tests/data/test1174 new file mode 100644 index 000000000..b316fde8c --- /dev/null +++ b/tests/data/test1174 @@ -0,0 +1,50 @@ + + + +HTTP +HTTP/0.9 + + + +# +# Server-side + + +-foo- swsclose + + + + + +# +# Client-side + + +http + + +HTTP/0.9 GET response denied by default + + +http://%HOSTIP:%HTTPPORT/1174 + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /1174 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + +# unsupported protocol + +1 + + + -- cgit v1.2.1