xref: /curl/tests/data/test499 (revision b8c00383)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<data crlf="yes" nocheck="yes">
13HTTP/1.1 200 OK
14Date: Tue, 09 Nov 2010 14:49:00 GMT
15Server: test-server/fake
16Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
17ETag: "21025-dc7-39462498"
18Accept-Ranges: bytes
19Content-Length: 6
20Connection: close
21Content-Type: text/html
22Funny-head: yesyes
23
24-foo-
25</data>
26<datacheck crlf="yes">
27HTTP/1.1 200 OK
28Date: Tue, 09 Nov 2010 14:49:00 GMT
29Server: test-server/fake
30Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
31ETag: "21025-dc7-39462498"
32Accept-Ranges: bytes
33Content-Length: 6
34Connection: close
35Content-Type: text/html
36Funny-head: yesyes
37</datacheck>
38</reply>
39
40#
41# Client-side
42<client>
43<server>
44http
45</server>
46<name>
47HTTP HEAD to server still sending a body
48</name>
49<command>
50http://%HOSTIP:%HTTPPORT/%TESTNUMBER -I
51</command>
52</client>
53
54#
55# Verify data after the test has been "shot"
56<verify>
57<protocol crlf="yes">
58HEAD /%TESTNUMBER HTTP/1.1
59Host: %HOSTIP:%HTTPPORT
60User-Agent: curl/%VERSION
61Accept: */*
62
63</protocol>
64</verify>
65</testcase>
66