]> icculus.org git repositories - icculus/iodoom3.git/blob - neo/curl/tests/data/test54
hello world
[icculus/iodoom3.git] / neo / curl / tests / data / test54
1 # Server-side
2 <reply>
3 <data>
4 HTTP/1.1 302 This is a weirdo text message swsclose
5 Connection: close
6 Location:  
7
8 This server reply is for testing
9 </data>
10 </reply>
11
12 # Client-side
13 <client>
14 <server>
15 http
16 </server>
17  <name>
18 HTTP with blank Location:
19  </name>
20  <command>
21 http://%HOSTIP:%HOSTPORT/want/54 -L
22 </command>
23 </test>
24
25 # Verify data after the test has been "shot"
26 <verify>
27 <strip>
28 ^User-Agent:.*
29 </strip>
30 <protocol>
31 GET /want/54 HTTP/1.1
32 Host: 127.0.0.1:8999
33 Pragma: no-cache
34 Accept: */*
35
36 </protocol>
37 </verify>