Test scenario chunked-transfer-encoding: Skip tests that require 'writesize' support
[privoxy.git] / tests / cts / chunked-transfer-encoding / data / test31
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 chunked transfer encoding
7 # XXX: Test requires "writesize" support that hasn't been upstreamed yet.
8 skip
9 </keywords>
10 </info>
11
12 <reply>
13 # Note that the %hex sequence is invalid and will not be transformed.
14 # At first it was an accident but as it triggered
15 # a bug in test build the test has been kept as is.
16 <data>
17 HTTP/1.1 200 OK\r
18 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
19 Content-Type: text/html\r
20 Transfer-Encoding: chunked\r
21 \r
22 %hex[1%0d%0a%0a%0d%0a0%0d%0a%0d%0a]
23 </data>
24 <servercmd>
25 writesize: 1000
26 </servercmd>
27 </reply>
28
29
30 <client>
31 <server>
32 http
33 </server>
34 <name>
35 Chunked transfer encoding - Chunk with invalid chunk size received with the server headers
36 </name>
37 <features>
38 proxy
39 </features>
40 <command>
41 --raw http://%HOSTIP:%HTTPPORT/no-filter/%TESTNUMBER
42 </command>
43 </client>
44
45 <verify>
46 <protocol>
47 GET /no-filter/%TESTNUMBER HTTP/1.1\r
48 Host: %HOSTIP:%HTTPPORT\r
49 User-Agent: curl/%VERSION\r
50 Accept: */*\r
51 \r
52 </protocol>
53 <errorcode>
54 56
55 </errorcode>
56 </verify>
57 </testcase>