This fixes tests that were added after
113f04e664b as the tests would
fail otherwise.
We bring back "Proxy-Connection: Keep-Alive" now unconditionally to fix
regressions with old and stupid proxies, but we could possibly switch to
using it only for CONNECT or only for NTLM in a future if we want to
gradually reduce it.
Fixes #954
Reported-by: János Fekete
GET http://%HOSTIP:%HTTPPORT/want/1141 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
+Proxy-Connection: Keep-Alive\r
\r
GET http://foo.example.com/want/11410001 HTTP/1.1\r
Host: foo.example.com\r
Accept: */*\r
+Proxy-Connection: Keep-Alive\r
\r
</protocol>
</verify>
GET http://%HOSTIP:%HTTPPORT/want/1142 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
+Proxy-Connection: Keep-Alive\r
\r
</protocol>
# 3, CURLE_URL_MALFORMAT for the four slashes
GET http://%HOSTIP:%HTTPPORT/1244 HTTP/1.1\r
Host: %HOSTIP:%HTTPPORT\r
Accept: */*\r
+Proxy-Connection: Keep-Alive\r
\r
</protocol>
</verify>
<proxy>
CONNECT connect.example.com.2050:%HTTPPORT HTTP/1.1\r
Host: connect.example.com.2050:%HTTPPORT\r
+Proxy-Connection: Keep-Alive\r
\r
</proxy>
<protocol>