curl-curl/tests/data/test1619
Daniel Stenberg 860c57dffd
test1619: download into %LOGDIR
Otherwise it will end up in tests/ which is not wanted.

Follow-up to d63432d1f8

Reported-by: Stefan Eissing

Closes #21114
2026-03-27 09:33:54 +01:00

46 lines
597 B
XML

<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
</keywords>
</info>
<reply>
<data nocheck="yes" crlf="headers">
HTTP/1.1 200 OK
ETag: W/"heyheyhey"
Content-Length: 4
yes
</data>
</reply>
<client>
<server>
http
</server>
<name>
--etag-save to stdout
</name>
<command >
http://%HOSTIP:%HTTPPORT/%TESTNUMBER -O --output-dir %LOGDIR --etag-save -
</command>
</client>
<verify>
<protocol crlf="headers">
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
</protocol>
<stdout>
W/"heyheyhey"
</stdout>
</verify>
</testcase>