mirror of
https://github.com/curl/curl.git
synced 2025-09-10 22:22:43 +03:00
Added test #34 - HTTP GET with chunked Transfer-Encoding
This commit is contained in:
parent
a23db7b7c7
commit
1118612249
|
@ -62,4 +62,5 @@ command30.txt name29.txt prot29.txt reply29.txt \
|
||||||
command31.txt name32.txt reply31.txt reply32.txt \
|
command31.txt name32.txt reply31.txt reply32.txt \
|
||||||
command32.txt prot31.txt reply310001.txt reply320001.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
|
command33.txt extra33.txt name33.txt prot33.txt reply33.txt \
|
||||||
|
command34.txt prot34.txt reply340001.txt name34.txt reply34.txt
|
||||||
|
|
1
tests/data/command34.txt
Normal file
1
tests/data/command34.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
http://%HOSTIP:%HOSTPORT/34
|
1
tests/data/name34.txt
Normal file
1
tests/data/name34.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
HTTP GET with chunked Transfer-Encoding
|
6
tests/data/prot34.txt
Normal file
6
tests/data/prot34.txt
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
GET /34 HTTP/1.1
|
||||||
|
User-Agent: curl/7.7-alpha2 (sparc-sun-solaris2.7) libcurl 7.7-alpha2 (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, */*
|
||||||
|
|
13
tests/data/reply34.txt
Normal file
13
tests/data/reply34.txt
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
HTTP/1.1 200 funky chunky!
|
||||||
|
Server: fakeit/1.0
|
||||||
|
Transfer-Encoding: chunked
|
||||||
|
Connection: mooo
|
||||||
|
|
||||||
|
40
|
||||||
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||||
|
30
|
||||||
|
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
||||||
|
20;heresatest=moooo
|
||||||
|
ccccccccccccccccccccccccccccccc
|
||||||
|
0
|
||||||
|
muuu
|
8
tests/data/reply340001.txt
Normal file
8
tests/data/reply340001.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
HTTP/1.1 200 funky chunky!
|
||||||
|
Server: fakeit/1.0
|
||||||
|
Transfer-Encoding: chunked
|
||||||
|
Connection: mooo
|
||||||
|
|
||||||
|
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
||||||
|
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
|
||||||
|
ccccccccccccccccccccccccccccccc
|
Loading…
Reference in New Issue
Block a user