Annotation of embedaddon/curl/tests/data/test207, revision 1.1.1.1
1.1 misho 1: <testcase>
2: <info>
3: <keywords>
4: HTTP
5: HTTP GET
6: CURLE_PARTIAL_FILE
7: FAILURE
8: chunked Transfer-Encoding
9: </keywords>
10: </info>
11: #
12: # Server-side
13: <reply>
14: <data>
15: HTTP/1.1 200 funky chunky! swsclose
16: Server: fakeit/0.9 fakeitbad/1.0
17: Transfer-Encoding: chunked
18: Connection: mooo
19:
20: 41
21: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
22:
23: </data>
24: <datacheck>
25: HTTP/1.1 200 funky chunky! swsclose
26: Server: fakeit/0.9 fakeitbad/1.0
27: Transfer-Encoding: chunked
28: Connection: mooo
29:
30: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
31: </datacheck>
32: </reply>
33:
34: #
35: # Client-side
36: <client>
37: <server>
38: http
39: </server>
40: <name>
41: HTTP GET with chunked Transfer-Encoding closed prematurely
42: </name>
43: <command>
44: http://%HOSTIP:%HTTPPORT/207
45: </command>
46: </client>
47:
48: #
49: # Verify data after the test has been "shot"
50: <verify>
51: <strip>
52: ^User-Agent:.*
53: </strip>
54: <protocol>
55: GET /207 HTTP/1.1
56: Host: %HOSTIP:%HTTPPORT
57: Accept: */*
58:
59: </protocol>
60:
61: # curl: (18) transfer closed with outstanding read data remaining
62: # 18 == CURLE_PARTIAL_FILE
63: <errorcode>
64: 18
65: </errorcode>
66: </verify>
67: </testcase>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>