]> granicus.if.org Git - curl/commitdiff
proxy authorization test case
authorDaniel Stenberg <daniel@haxx.se>
Wed, 15 Nov 2000 12:06:59 +0000 (12:06 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 15 Nov 2000 12:06:59 +0000 (12:06 +0000)
tests/data/command16.txt [new file with mode: 0644]
tests/data/http16.txt [new file with mode: 0644]
tests/data/name16.txt [new file with mode: 0644]
tests/data/reply16.txt [new file with mode: 0644]

diff --git a/tests/data/command16.txt b/tests/data/command16.txt
new file mode 100644 (file)
index 0000000..e4b1d3c
--- /dev/null
@@ -0,0 +1 @@
+ -U fake:user -x %HOSTIP:%HOSTPORT http://we.want.that.site.com/2
diff --git a/tests/data/http16.txt b/tests/data/http16.txt
new file mode 100644 (file)
index 0000000..f76afda
--- /dev/null
@@ -0,0 +1,7 @@
+GET http://we.want.that.site.com/2 HTTP/1.0\r
+Proxy-authorization: Basic ZmFrZTp1c2Vy\r
+User-Agent: curl/7.4.2 (sparc-sun-solaris2.7) libcurl 7.4.2\r
+Host: we.want.that.site.com\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+\r
diff --git a/tests/data/name16.txt b/tests/data/name16.txt
new file mode 100644 (file)
index 0000000..e00da9d
--- /dev/null
@@ -0,0 +1 @@
+HTTP with proxy athorization
diff --git a/tests/data/reply16.txt b/tests/data/reply16.txt
new file mode 100644 (file)
index 0000000..57d8bf9
--- /dev/null
@@ -0,0 +1,7 @@
+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
+
+