HTTP
HTTP GET
chunked Transfer-Encoding
FAILURE
#
# Server-side
HTTP/1.1 200 funky chunky!
Server: fakeit/0.9 fakeitbad/1.0
Transfer-Encoding: chunked
Connection: mooo
2
a
ILLEGAL
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
HTTP/1.1 200 funky chunky!
Server: fakeit/0.9 fakeitbad/1.0
Transfer-Encoding: chunked
Connection: mooo
a
#
# Client-side
http
HTTP GET with bad chunked Transfer-Encoding
http://%HOSTIP:%HTTPPORT/36
#
# Verify data after the test has been "shot"
56
GET /36 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*