xref: /curl/tests/data/test1271 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6--write-out
7</keywords>
8</info>
9
10# Server-side
11<reply>
12<data>
13HTTP/1.1 200 This is a weirdo text message swsclose
14Content-Length: 4
15Connection: close
16
17Moo
18</data>
19</reply>
20
21# Client-side
22<client>
23<server>
24http
25</server>
26<name>
27--write-out from file with empty file
28</name>
29<command>
30http://%HOSTIP:%HTTPPORT/we/want/our/%TESTNUMBER -w @%LOGDIR/blank%TESTNUMBER
31</command>
32<file name="%LOGDIR/blank%TESTNUMBER">
33</file>
34</client>
35
36# Verify data after the test has been "shot"
37<verify>
38<protocol>
39GET /we/want/our/%TESTNUMBER HTTP/1.1
40Host: %HOSTIP:%HTTPPORT
41User-Agent: curl/%VERSION
42Accept: */*
43
44</protocol>
45</verify>
46</testcase>
47