diff --git a/tests/data/Makefile.inc b/tests/data/Makefile.inc index 660f80668..e4823d52a 100644 --- a/tests/data/Makefile.inc +++ b/tests/data/Makefile.inc @@ -137,7 +137,7 @@ test1144 test1145 test1146 test1147 test1148 test1149 test1150 test1151 \ test1152 test1153 test1154 test1155 test1156 test1157 test1158 test1159 \ test1160 test1161 test1162 test1163 test1164 test1165 test1166 test1167 \ test1168 test1170 test1171 test1172 test1173 test1174 test1175 \ -test1176 test1177 test1178 test1179 \ +test1176 test1177 test1178 test1179 test1180 \ \ test1188 \ \ diff --git a/tests/data/test1180 b/tests/data/test1180 new file mode 100644 index 000000000..88e8bc43c --- /dev/null +++ b/tests/data/test1180 @@ -0,0 +1,48 @@ + + + +HTTP +HTTP proxy + + + +# Server-side + + +HTTP/1.1 200 OK +Server: Blafasel/5.0 +Date: Sat, 16 Jan 2021 14:48:30 GMT +Content-Length: 12 + +Bla bla bla + + + + +# Client-side + + +http + + +proxy + + +HTTP GET request with proxy and -H "Proxy-Connection: keep-alive" + + +--proxy http://%HOSTIP:%HTTPPORT -H "Proxy-Connection: Keep-Alive" http://%HOSTIP:%HTTPPORT/1180 + + + + + +GET http://%HOSTIP:%HTTPPORT/1180 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +User-Agent: curl/%VERSION +Accept: */* +Proxy-Connection: Keep-Alive + + + +