summaryrefslogtreecommitdiff
path: root/tests/data/test1124
blob: d860bee1356fac9d0ef135f435e9f04ce5d26b5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<testcase>
<info>
<keywords>
HTTP
HTTP GET
compressed
Transfer-Encoding
chunked
</keywords>
</info>
#
# Server-side
<reply>
<data base64="yes">
SFRUUC8xLjEgMjAwIE9LDQpEYXRlOiBNb24sIDI5IE5vdiAyMDI0IDIxOjU2OjUzIEdNVA0KU2Vy
dmVyOiBTb21ldGhpbmctVEUtZnJpZW5kbHkvMC4xDQpWYXJ5OiBBY2NlcHQtRW5jb2RpbmcNCkNv
bnRlbnQtVHlwZTogdGV4dC9odG1sOyBjaGFyc2V0PUlTTy04ODU5LTENClRyYW5zZmVyLUVuY29k
aW5nOiBnemlwLCBjaHVua2VkDQoNCjE0DQofiwgIeZ6rQQADbGFsYWxhAMvJzA0KMTgNCktVMORS
yAHRRlwKEIYxFwAKAnFgGAAAAA0KMA0KDQo=
</data>

<datacheck>
HTTP/1.1 200 OK
Date: Mon, 29 Nov 2024 21:56:53 GMT
Server: Something-TE-friendly/0.1
Vary: Accept-Encoding
Content-Type: text/html; charset=ISO-8859-1
Transfer-Encoding: gzip, chunked

line 1
 line 2
  line 3
</datacheck>

</reply>

#
# Client-side
<client>
<features>
libz
</features>
<server>
http
</server>
 <name>
HTTP GET gzip+chunked transfer-encoded content
 </name>
 <command>
http://%HOSTIP:%HTTPPORT/1124 --tr-encoding
</command>
</client>

#
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
</strip>
<protocol>
GET /1124 HTTP/1.1
Host: %HOSTIP:%HTTPPORT
Accept: */*
Connection: TE
TE: gzip

</protocol>
</verify>
</testcase>