multiple URL test

This commit is contained in:
Daniel Stenberg 2000-11-17 15:07:03 +00:00
parent a03cdd7e83
commit 874f6024e6
4 changed files with 30 additions and 0 deletions

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

@ -0,0 +1 @@
'%HOSTIP:%HOSTPORT/{3,10,11}'

6
tests/data/http18.txt Normal file
View File

@ -0,0 +1,6 @@
GET /11 HTTP/1.0
User-Agent: curl/7.4.2 (sparc-sun-solaris2.7) libcurl 7.4.2
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

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

@ -0,0 +1 @@
multiple requests using {} in URL

22
tests/data/stdout18.txt Normal file
View File

@ -0,0 +1,22 @@
--_curl_--127.0.0.1:8999/3
HTTP/1.1 200 OK
Server: test-server/fake
Content-Type: text/html
Content-Length: 0
this is data even though Content-Length is set to zero
--_curl_--127.0.0.1:8999/10
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
blablabla
--_curl_--127.0.0.1:8999/11
HTTP/1.1 301 This is a weirdo text message
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Location: data/110002.txt?coolsite=yes
This server reply is for testing a simple Location: following