xref: /curl/tests/data/test369 (revision e7a021e1)
1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6etag
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14HTTP/1.1 200 OK
15Content-Length: 4
16Content-Type: text/html
17
18hej
19</data>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26http
27</server>
28<name>
29--etag-save with bad path then working transfer
30</name>
31<command>
32http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save %LOGDIR/nowhere/etag%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER --include --output %LOGDIR/curl%TESTNUMBER.out
33</command>
34</client>
35
36#
37# Verify data after the test has been "shot"
38<verify>
39<protocol>
40GET /%TESTNUMBER HTTP/1.1
41Host: %HOSTIP:%HTTPPORT
42User-Agent: curl/%VERSION
43Accept: */*
44
45</protocol>
46</verify>
47</testcase>
48