mirror of https://github.com/moparisthebest/curl
Added two tests for multiple URLs (26 + 27)
This commit is contained in:
parent
19d3fd1185
commit
a84625eca6
|
@ -51,5 +51,6 @@ command6.txt name12.txt prot3.txt upload109.txt \
|
||||||
command7.txt name13.txt prot4.txt upload112.txt \
|
command7.txt name13.txt prot4.txt upload112.txt \
|
||||||
command8.txt name14.txt prot5.txt \
|
command8.txt name14.txt prot5.txt \
|
||||||
command9.txt name15.txt prot6.txt \
|
command9.txt name15.txt prot6.txt \
|
||||||
error111.txt name16.txt prot7.txt
|
error111.txt name16.txt prot7.txt \
|
||||||
|
command26.txt prot26.txt command27.txt prot27.txt \
|
||||||
|
name26.txt reply26.txt name27.txt stdout27.txt
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
http://%HOSTIP:%HOSTPORT/want/25 -o - -o -
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
http://%HOSTIP:%HOSTPORT/want/25 http://%HOSTIP:%HOSTPORT/want/24 http://%HOSTIP:%HOSTPORT/want/22
|
|
@ -0,0 +1 @@
|
||||||
|
specify more -o than URLs
|
|
@ -0,0 +1 @@
|
||||||
|
getting three URLs in one command line (to stdout)
|
|
@ -0,0 +1,6 @@
|
||||||
|
GET /want/25 HTTP/1.0
|
||||||
|
User-Agent: curl/7.6-pre1 (sparc-sun-solaris2.7) libcurl 7.5.2 (SSL 0.9.6) (krb4 enabled)
|
||||||
|
Host: 127.0.0.1:8999
|
||||||
|
Pragma: no-cache
|
||||||
|
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
GET /want/22 HTTP/1.0
|
||||||
|
User-Agent: curl/7.6-pre1 (sparc-sun-solaris2.7) libcurl 7.6-pre1 (SSL 0.9.6) (krb4 enabled)
|
||||||
|
Host: 127.0.0.1:8999
|
||||||
|
Pragma: no-cache
|
||||||
|
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
HTTP/1.1 301 This is a weirdo text message
|
||||||
|
Server: test-server/fake
|
||||||
|
Location: data/reply/25
|
||||||
|
|
||||||
|
Redirect to the same URL again!
|
|
@ -0,0 +1,14 @@
|
||||||
|
HTTP/1.1 301 This is a weirdo text message
|
||||||
|
Server: test-server/fake
|
||||||
|
Location: data/reply/25
|
||||||
|
|
||||||
|
Redirect to the same URL again!
|
||||||
|
HTTP/1.1 404 BAD BOY
|
||||||
|
Content-Type: text/html
|
||||||
|
|
||||||
|
This silly page doesn't reaaaaaly exist so you should not get it.
|
||||||
|
|
||||||
|
HTTP/1.1 200 OK
|
||||||
|
Funny-head: yesyes
|
||||||
|
|
||||||
|
This is the proof it works
|
Loading…
Reference in New Issue