wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / gzip-compression / data / test1
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%08%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 X-Control: swsclose\r
30 Content-Length: 36\r
31 \r
32 Blafasel die da
33 Some more data here
34 </data>
35 </proxy-reply>
36
37 <client>
38 <server>
39 http
40 </server>
41 <name>
42 gzip-encoded content. Valid gzip data.
43 </name>
44 <features>
45 proxy
46 </features>
47 <command>
48 -H "Accept-Encoding: gzip" http://%HOSTIP:%HTTPPORT/gzip-compressed-data/%TESTNUMBER
49 </command>
50 </client>
51
52 <verify>
53 <protocol>
54 GET /gzip-compressed-data/%TESTNUMBER HTTP/1.1\r
55 Host: %HOSTIP:%HTTPPORT\r
56 User-Agent: curl/%VERSION\r
57 Accept: */*\r
58 Accept-Encoding: gzip\r
59 \r
60 </protocol>
61 <errorcode>
62 0
63 </errorcode>
64 </verify>
65 </testcase>