xref: /curl/tests/data/test48 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP HEAD
6-G
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<servercmd>
13connection-monitor
14</servercmd>
15<data>
16HTTP/1.1 200 OK
17Date: Tue, 09 Nov 2010 14:49:00 GMT
18
19</data>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26http
27</server>
28<name>
29HTTP with -d and -G and -I
30</name>
31<command>
32-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/%TESTNUMBER -G -I http://%HOSTIP:%HTTPPORT/%TESTNUMBER
33</command>
34</client>
35
36#
37# Verify data after the test has been "shot"
38<verify>
39<protocol>
40HEAD /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42User-Agent: curl/%VERSION
43Accept: */*
44
45HEAD /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1
46Host: %HOSTIP:%HTTPPORT
47User-Agent: curl/%VERSION
48Accept: */*
49
50[DISCONNECT]
51</protocol>
52</verify>
53</testcase>
54