Added test case 37, HTTP GET with name+password in the URL
authorDaniel Stenberg <daniel@haxx.se>
Tue, 13 Mar 2001 09:44:09 +0000 (09:44 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 13 Mar 2001 09:44:09 +0000 (09:44 +0000)
tests/data/Makefile.am
tests/data/command37.txt [new file with mode: 0644]
tests/data/name37.txt [new file with mode: 0644]
tests/data/prot37.txt [new file with mode: 0644]
tests/data/reply37.txt [new file with mode: 0644]

index b61bb5c..6e64e9e 100644 (file)
@@ -65,4 +65,5 @@ name31.txt     prot32.txt  reply310002.txt  reply320002.txt \
 command33.txt  extra33.txt    name33.txt     prot33.txt     reply33.txt \
 command34.txt prot34.txt reply340001.txt name34.txt reply34.txt \
 command35.txt  name35.txt     prot35.txt     reply35.txt \
-command36.txt  error36.txt  name36.txt  reply36.txt
\ No newline at end of file
+command36.txt  error36.txt  name36.txt  reply36.txt \
+command37.txt  name37.txt  prot37.txt  reply37.txt
diff --git a/tests/data/command37.txt b/tests/data/command37.txt
new file mode 100644 (file)
index 0000000..c37cf42
--- /dev/null
@@ -0,0 +1 @@
+http://uUsSeErrr:pppasswrd@%HOSTIP:%HOSTPORT/37
diff --git a/tests/data/name37.txt b/tests/data/name37.txt
new file mode 100644 (file)
index 0000000..fef9ec1
--- /dev/null
@@ -0,0 +1 @@
+HTTP GET with name+password in the URL
diff --git a/tests/data/prot37.txt b/tests/data/prot37.txt
new file mode 100644 (file)
index 0000000..59a06d2
--- /dev/null
@@ -0,0 +1,7 @@
+GET /37 HTTP/1.1\r
+Authorization: Basic dVVzU2VFcnJyOnBwcGFzc3dyZA==\r
+User-Agent: curl/7.7-beta1 (i686-pc-linux-gnu) libcurl 7.7-beta1 (SSL 0.9.5)\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+\r
diff --git a/tests/data/reply37.txt b/tests/data/reply37.txt
new file mode 100644 (file)
index 0000000..5ddff95
--- /dev/null
@@ -0,0 +1,3 @@
+HTTP/1.0 200 OK
+
+no headers!