From: Daniel Stenberg Date: Mon, 28 May 2001 11:19:44 +0000 (+0000) Subject: test: HTTP over proxy X-Git-Tag: curl-7_8-pre2~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20d67917c4443623275c14df53edf7bbcf5b1f90;p=thirdparty%2Fcurl.git test: HTTP over proxy --- diff --git a/tests/data/test5 b/tests/data/test5 new file mode 100644 index 0000000000..8ced1d739e --- /dev/null +++ b/tests/data/test5 @@ -0,0 +1,38 @@ +# +# Server-side + + +HTTP/1.1 200 OK +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Content-Type: text/html +Funny-head: yesyes + + + + +# +# Client-side + + +HTTP over proxy + + +http://%HOSTIP:%HOSTPORT/we/want/that/page/5 -x %HOSTIP:%HOSTPORT + + + +# +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET http://127.0.0.1:8999/we/want/that/page/5 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + + +