xref: /curl/tests/data/test1546 (revision f8679425)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6Transfer-Encoding
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 OK
14Date: Mon, 29 Nov 2004 21:56:53 GMT
15Server: Apache
16Transfer-Encoding: chunked, gzip
17
180
19
20</data>
21
22<datacheck>
23HTTP/1.1 200 OK
24Date: Mon, 29 Nov 2004 21:56:53 GMT
25Server: Apache
26</datacheck>
27
28</reply>
29
30#
31# Client-side
32<client>
33<features>
34libz
35</features>
36<server>
37http
38</server>
39<name>
40HTTP transfer-encoding wrong order
41</name>
42<command>
43http://%HOSTIP:%HTTPPORT/%TESTNUMBER --tr-encoding
44</command>
45</client>
46
47#
48# Verify data after the test has been "shot"
49<verify>
50<protocol>
51GET /%TESTNUMBER HTTP/1.1
52Host: %HOSTIP:%HTTPPORT
53User-Agent: curl/%VERSION
54Accept: */*
55Connection: TE
56TE: gzip
57
58</protocol>
59<errorcode>
6061
61</errorcode>
62</verify>
63</testcase>
64