1<testcase> 2<info> 3<keywords> 4HTTP 5gzip 6</keywords> 7</info> 8 9# 10# Server-side 11<reply> 12<data nocheck="yes" crlf="yes"> 13HTTP/1.1 200 OK 14Content-Length: 6 15Transfer-Encoding: gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip,gzip 16 17-foo- 18</data> 19</reply> 20 21# 22# Client-side 23<client> 24<server> 25http 26</server> 27<features> 28libz 29</features> 30<name> 31Response with overly long compression chain 32</name> 33<command> 34http://%HOSTIP:%HTTPPORT/%TESTNUMBER -sS --tr-encoding 35</command> 36</client> 37 38# 39# Verify data after the test has been "shot" 40<verify> 41<protocol> 42GET /%TESTNUMBER HTTP/1.1 43Host: %HOSTIP:%HTTPPORT 44User-Agent: curl/%VERSION 45Accept: */* 46Connection: TE 47TE: gzip 48 49</protocol> 50 51# CURLE_BAD_CONTENT_ENCODING is 61 52<errorcode> 5361 54</errorcode> 55<stderr mode="text"> 56curl: (61) Reject response due to more than 5 content encodings 57</stderr> 58</verify> 59</testcase> 60