xref: /curl/tests/data/test3011 (revision e7a021e1)
1<testcase>
2<info>
3<keywords>
4-O
5</keywords>
6</info>
7#
8# Server-side
9<reply>
10<data nocheck="yes">
11HTTP/1.1 200 OK
12Date: Tue, 09 Nov 2010 14:49:00 GMT
13Server: test-server/fake
14Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
15ETag: "21025-dc7-39462498"
16Accept-Ranges: bytes
17Content-Length: 6
18Connection: close
19Content-Type: text/html
20Funny-head: yesyes
21
22-foo-
23</data>
24</reply>
25
26#
27# Client-side
28<client>
29<server>
30http
31</server>
32<features>
33http
34</features>
35<name>
36--output-dir with --create-dirs
37</name>
38<command option="no-output,no-include">
39http://%HOSTIP:%HTTPPORT/this/is/the/%TESTNUMBER -O --output-dir %PWD/%LOGDIR/tmp --create-dirs
40</command>
41</client>
42
43#
44# Verify data after the test has been "shot"
45<verify>
46<protocol>
47GET /this/is/the/%TESTNUMBER HTTP/1.1
48Host: %HOSTIP:%HTTPPORT
49User-Agent: curl/%VERSION
50Accept: */*
51
52</protocol>
53<file name="%LOGDIR/tmp/%TESTNUMBER">
54-foo-
55</file>
56</verify>
57</testcase>
58