Commit 874f6024 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

multiple URL test

parent a03cdd7e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
'%HOSTIP:%HOSTPORT/{3,10,11}'

tests/data/http18.txt

0 → 100644
+6 −0
Original line number Diff line number Diff line
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, */*

tests/data/name18.txt

0 → 100644
+1 −0
Original line number Diff line number Diff line
multiple requests using {} in URL
+22 −0
Original line number Diff line number Diff line
--_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