wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / gzip-compression / data / test8
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 gzip compression
7 </keywords>
8 </info>
9
10 <reply>
11 <data>
12 HTTP/1.1 200 OK\r
13 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
14 Connection: close\r
15 Content-Type: text/html\r
16 Content-Encoding: gzip\r
17 X-Control: swsclose\r
18 \r
19 %hex[%1f%8b%08%e8%a2%c1%12%60%00%03%62%6c%61%66%61%73%65%6c%00%73%ca%49%4c%4b%2c%4e%cd%51%48%c9%4c%55%48%49%e4%0a%ce%cf%4d%55%c8%cd%2f%02%71%4a%12%15%32%52%8b%52%b9%00%62%37%9b%0c%24%00%00%00%0a]hex%
20 </data>
21 </reply>
22
23 <proxy-reply>
24 <data>
25 HTTP/1.1 200 OK\r
26 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
27 Connection: close\r
28 Content-Type: text/html\r
29 Content-Encoding: gzip\r
30 X-Control: swsclose\r
31 \r
32 %hex[%1f%8b%08%e8%a2%c1%12%60%00%03%62%6c%61%66%61%73%65%6c%00%73%ca%49%4c%4b%2c%4e%cd%51%48%c9%4c%55%48%49%e4%0a%ce%cf%4d%55%c8%cd%2f%02%71%4a%12%15%32%52%8b%52%b9%00%62%37%9b%0c%24%00%00%00%0a]hex%
33 </data>
34 </proxy-reply>
35
36 <client>
37 <server>
38 http
39 </server>
40 <name>
41 gzip-encoded content. Invalid gzip header flags.
42 </name>
43 <features>
44 proxy
45 </features>
46 <command>
47 -H "Accept-Encoding: gzip" http://%HOSTIP:%HTTPPORT/gzip-compressed-data/%TESTNUMBER
48 </command>
49 </client>
50
51 <verify>
52 <protocol>
53 GET /gzip-compressed-data/%TESTNUMBER HTTP/1.1\r
54 Host: %HOSTIP:%HTTPPORT\r
55 User-Agent: curl/%VERSION\r
56 Accept: */*\r
57 Accept-Encoding: gzip\r
58 \r
59 </protocol>
60 <errorcode>
61 0
62 </errorcode>
63 </verify>
64 </testcase>