xref: /curl/tests/data/test373 (revision 9dbce9b3)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6chunked transfer encoding
7</keywords>
8</info>
9
10<reply>
11<data>
12HTTP/1.1 200 OK
13Date: Thu, 22 Jul 2010 11:22:33 GMT
14Connection: close
15Content-Type: text/html
16Transfer-Encoding: chunked
17X-Control: swsclose
18
19100
20%repeat[255 x %00]%
21
22100
23%repeat[255 x %00]%
24
25100
26%repeat[255 x %00]%
27
28100
29%repeat[255 x %00]%
30
310
32
33</data>
34
35<datacheck>
36HTTP/1.1 200 OK
37Date: Thu, 22 Jul 2010 11:22:33 GMT
38Connection: close
39Content-Type: text/html
40Transfer-Encoding: chunked
41X-Control: swsclose
42
43%repeat[255 x %00]%
44%repeat[255 x %00]%
45%repeat[255 x %00]%
46%repeat[255 x %00]%
47</datacheck>
48
49</reply>
50
51<client>
52<server>
53http
54</server>
55<name>
56Chunked transfer encoding - Multiple valid chunks with binary zeros.
57</name>
58<features>
59proxy
60</features>
61<command>
62http://%HOSTIP:%HTTPPORT/chunked-transfer-encoding/%TESTNUMBER
63</command>
64</client>
65
66<verify>
67<protocol>
68GET /chunked-transfer-encoding/%TESTNUMBER HTTP/1.1
69Host: %HOSTIP:%HTTPPORT
70User-Agent: curl/%VERSION
71Accept: */*
72
73</protocol>
74<errorcode>
750
76</errorcode>
77</verify>
78</testcase>
79