xref: /curl/tests/data/test319 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6compressed
7Transfer-Encoding
8</keywords>
9</info>
10#
11# Server-side
12<reply>
13<data base64="yes">
14SFRUUC8xLjEgMjAwIE9LIHN3c2Nsb3NlDQpEYXRlOiBNb24sIDI5IE5vdiAyMDA0IDIxOjU2OjUz
15IEdNVA0KU2VydmVyOiBBcGFjaGUvMS4zLjMxIChEZWJpYW4gR05VL0xpbnV4KSBtb2RfZ3ppcC8x
16LjMuMjYuMWEgUEhQLzQuMy45LTEgbW9kX3NzbC8yLjguMjAgT3BlblNTTC8wLjkuN2QgbW9kX3Bl
17cmwvMS4yOQ0KQ29udGVudC1UeXBlOiB0ZXh0L2h0bWw7IGNoYXJzZXQ9SVNPLTg4NTktMQ0KVHJh
18bnNmZXItRW5jb2Rpbmc6IGd6aXANCkNvbnRlbnQtTGVuZ3RoOiA0NA0KDQofiwgIeZ6rQQADbGFs
19YWxhAMvJzEtVMORSyAHRRlwKEIYxFwAKAnFgGAAAAA==
20</data>
21
22<datacheck base64="yes">
23H4sICHmeq0EAA2xhbGFsYQDLycxLVTDkUsgB0UZcChCGMRcACgJxYBgAAAA=
24</datacheck>
25
26</reply>
27
28#
29# Client-side
30<client>
31<features>
32libz
33</features>
34<server>
35http
36</server>
37<name>
38HTTP GET gzip transfer-encoded data in raw mode
39</name>
40 <command option="no-include">
41http://%HOSTIP:%HTTPPORT/%TESTNUMBER --raw
42 </command>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48<protocol>
49GET /%TESTNUMBER HTTP/1.1
50Host: %HOSTIP:%HTTPPORT
51User-Agent: curl/%VERSION
52Accept: */*
53
54</protocol>
55</verify>
56</testcase>
57