1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6Content-Encoding
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK
14Date: Thu, 09 Nov 2010 14:49:00 GMT
15Content-Type: text/html
16Content-Encoding: none
17Content-Length: 38
18
19Q: What did 0 say to 8? A: Nice Belt!
20</data>
21</reply>
22
23# Client-side
24<client>
25<server>
26http
27</server>
28
29# we're actually more interested in any compression support but this is the
30# best we can do right now
31<features>
32libz
33</features>
34 <name>
35HTTP with "Content-Encoding: none
36 </name>
37 <command>
38http://%HOSTIP:%HTTPPORT/hello/328 --compressed
39</command>
40</client>
41
42# Verify data after the test has been "shot"
43<verify>
44<strip>
45^User-Agent:.*
46^Accept-Encoding:.*
47</strip>
48<protocol>
49GET /hello/328 HTTP/1.1
50Host: %HOSTIP:%HTTPPORT
51Accept: */*
52
53</protocol>
54</verify>
55</testcase>
56