From 8e8846d876c547582242e205bc3e139ecaddbb0c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 13 Mar 2001 09:44:09 +0000 Subject: Added test case 37, HTTP GET with name+password in the URL --- tests/data/Makefile.am | 3 ++- tests/data/command37.txt | 1 + tests/data/name37.txt | 1 + tests/data/prot37.txt | 7 +++++++ tests/data/reply37.txt | 3 +++ 5 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 tests/data/command37.txt create mode 100644 tests/data/name37.txt create mode 100644 tests/data/prot37.txt create mode 100644 tests/data/reply37.txt (limited to 'tests/data') 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! -- cgit v1.2.3