1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 22:15:13 -05:00

Added test case 36:

[HTTP GET with badly formatted chunked Transfer-Encoding]
This commit is contained in:
Daniel Stenberg 2001-03-12 15:27:01 +00:00
parent 46c9075eab
commit 56a27d608a
5 changed files with 13 additions and 1 deletions

View File

@ -64,4 +64,5 @@ 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 \ command34.txt prot34.txt reply340001.txt name34.txt reply34.txt \
command35.txt name35.txt prot35.txt reply35.txt command35.txt name35.txt prot35.txt reply35.txt \
command36.txt error36.txt name36.txt reply36.txt

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

@ -0,0 +1 @@
http://%HOSTIP:%HOSTPORT/36

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

@ -0,0 +1 @@
26

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

@ -0,0 +1 @@
HTTP GET with badly formatted chunked Transfer-Encoding

8
tests/data/reply36.txt Normal file
View File

@ -0,0 +1,8 @@
HTTP/1.1 200 funky chunky!
Server: fakeit/1.0
Transfer-Encoding: chunked
40
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
ILLEGAL
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb