Added test case 37, HTTP GET with name+password in the URL

This commit is contained in:
Daniel Stenberg 2001-03-13 09:44:09 +00:00
parent 7d562bb685
commit 8e8846d876
5 changed files with 14 additions and 1 deletions

View 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
command36.txt error36.txt name36.txt reply36.txt \
command37.txt name37.txt prot37.txt reply37.txt

1
tests/data/command37.txt Normal file
View File

@ -0,0 +1 @@
http://uUsSeErrr:pppasswrd@%HOSTIP:%HOSTPORT/37

1
tests/data/name37.txt Normal file
View File

@ -0,0 +1 @@
HTTP GET with name+password in the URL

7
tests/data/prot37.txt Normal file
View File

@ -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, */*

3
tests/data/reply37.txt Normal file
View File

@ -0,0 +1,3 @@
HTTP/1.0 200 OK
no headers!