aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-13 09:44:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-13 09:44:09 +0000
commit8e8846d876c547582242e205bc3e139ecaddbb0c (patch)
treead501f4986d6bfb5c1ad7102c4d0b355073d9d3e /tests
parent7d562bb6859518ee15806b7bdc03053e0380c52b (diff)
Added test case 37, HTTP GET with name+password in the URL
Diffstat (limited to 'tests')
-rw-r--r--tests/data/Makefile.am3
-rw-r--r--tests/data/command37.txt1
-rw-r--r--tests/data/name37.txt1
-rw-r--r--tests/data/prot37.txt7
-rw-r--r--tests/data/reply37.txt3
5 files changed, 14 insertions, 1 deletions
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index b61bb5ccf..6e64e9e19 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -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
index 000000000..c37cf423d
--- /dev/null
+++ b/tests/data/command37.txt
@@ -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
index 000000000..fef9ec171
--- /dev/null
+++ b/tests/data/name37.txt
@@ -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
index 000000000..59a06d214
--- /dev/null
+++ b/tests/data/prot37.txt
@@ -0,0 +1,7 @@
+GET /37 HTTP/1.1
+Authorization: Basic dVVzU2VFcnJyOnBwcGFzc3dyZA==
+User-Agent: curl/7.7-beta1 (i686-pc-linux-gnu) libcurl 7.7-beta1 (SSL 0.9.5)
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/reply37.txt b/tests/data/reply37.txt
new file mode 100644
index 000000000..5ddff9532
--- /dev/null
+++ b/tests/data/reply37.txt
@@ -0,0 +1,3 @@
+HTTP/1.0 200 OK
+
+no headers!