mirror of https://github.com/moparisthebest/curl
test case 33, HTTP PUT resume
This commit is contained in:
parent
f585b66af7
commit
30ec0af109
|
@ -61,4 +61,5 @@ command29.txt error30.txt name30.txt prot30.txt reply30.txt \
|
|||
command30.txt name29.txt prot29.txt reply29.txt \
|
||||
command31.txt name32.txt reply31.txt reply32.txt \
|
||||
command32.txt prot31.txt reply310001.txt reply320001.txt \
|
||||
name31.txt prot32.txt reply310002.txt reply320002.txt
|
||||
name31.txt prot32.txt reply310002.txt reply320002.txt \
|
||||
command33.txt extra33.txt name33.txt prot33.txt reply33.txt
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
http://%HOSTIP:%HOSTPORT/33 -Tdata/extra33.txt -C 50
|
||||
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
|
@ -0,0 +1 @@
|
|||
HTTP PUT resume
|
|
@ -0,0 +1,18 @@
|
|||
PUT /33 HTTP/1.0
|
||||
Content-Range: bytes 50-149/150
|
||||
User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (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, */*
|
||||
Content-Length: 100
|
||||
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
||||
012345678
|
|
@ -0,0 +1,7 @@
|
|||
HTTP/1.1 303 See Other
|
||||
Server: fake
|
||||
Location: /moo/moo/moo/320002
|
||||
|
||||
This Location should be fetched with a GET!
|
||||
|
||||
|
Loading…
Reference in New Issue