From: Daniel Stenberg Date: Fri, 19 Apr 2024 06:55:10 +0000 (+0200) Subject: test2406: verify -f with HTTP/2 X-Git-Tag: curl-8_8_0~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d54b0adbad8d3120e6c7697a7e39c2e83862acc6;p=thirdparty%2Fcurl.git test2406: verify -f with HTTP/2 --- diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 97e0167080..fb94dd002a 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -248,7 +248,7 @@ test2200 test2201 test2202 test2203 test2204 test2205 \ \ test2300 test2301 test2302 test2303 test2304 test2305 test2306 test2307 \ \ -test2400 test2401 test2402 test2403 test2404 test2405 \ +test2400 test2401 test2402 test2403 test2404 test2405 test2406 \ \ test2500 test2501 test2502 test2503 \ \ diff --git a/tests/data/test2406 b/tests/data/test2406 new file mode 100644 index 0000000000..7055feed38 --- /dev/null +++ b/tests/data/test2406 @@ -0,0 +1,66 @@ + + + +HTTP +HTTP GET +HTTP/2 +HTTPS + + + +# +# Server-side + + +HTTP/1.1 404 nope +Date: Tue, 09 Nov 2010 14:49:00 GMT +Content-Length: 6 +Connection: close +Content-Type: text/html +Funny-head: yesyes + +-foo- + + + +# +# Client-side + + +debug +h2c +SSL + + +http +http/2 + + +HTTP/2 with -f + + + + +-k --http2 -f "https://%HOSTIP:%HTTP2TLSPORT/%TESTNUMBER" + + + + +# +# Verify data after the test has been "shot" + + +HTTP/2 404 +date: Tue, 09 Nov 2010 14:49:00 GMT +content-length: 6 +content-type: text/html +funny-head: yesyes +server: nghttpx +via: 1.1 nghttpx + + + +22 + + +