• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6chunked Transfer-Encoding
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<data nocheck="yes">
13HTTP/1.1 200 funky chunky!
14Server: fakeit/0.9 fakeitbad/1.0
15Transfer-Encoding: chunked
16Connection: mooo
17
1812345678123456789
19aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
2030
21bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
2221;heresatest=moooo
23cccccccccccccccccccccccccccccccc
24
250
26
27</data>
28</reply>
29
30#
31# Client-side
32<client>
33<server>
34http
35</server>
36 <name>
37HTTP GET with chunked Transfer-Encoding overflowed chunked size
38 </name>
39 <command>
40http://%HOSTIP:%HTTPPORT/1416
41</command>
42</client>
43
44#
45# Verify data after the test has been "shot"
46<verify>
47<strip>
48^User-Agent:.*
49</strip>
50<protocol>
51GET /1416 HTTP/1.1
52Host: %HOSTIP:%HTTPPORT
53Accept: */*
54
55</protocol>
56
57# 56 = CURLE_RECV_ERROR
58<errorcode>
5956
60</errorcode>
61</verify>
62
63</testcase>
64