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