HTTP
HTTP GET
compressed
# Server-side
HTTP/1.1 200 OK
Date: Mon, 29 Nov 2004 21:56:53 GMT
Server: test-server/fake
Content-Type: text/plain; charset=UTF-8
Content-Encoding: gzip
Content-Length: 54
%hex[%1f%8b%08%00%00%00%00%00%02%13%f3%48%cd%c9%c9%d7%51%00%00%05%6f%57%de%07%00%00%00%1f%8b%08%00%00%00%00%00%02%13%0b%cf%2f%ca%49%51%e4%02%00%dd%d1%ca%53%07%00%00%00]hex%
# Client-side
libz
http
HTTP GET gzip compressed content with two concatenated gzip members
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --compressed --silent --show-error
# Verify data after the test has been "shot"
s/^Accept-Encoding: [a-zA-Z, ]*/Accept-Encoding: xxx/
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
Accept-Encoding: xxx
23
curl: (23) Multi-member gzip response not supported