browser/external/curl-8.3.0/tests/data/test369

48 lines
687 B
Plaintext
Raw Normal View History

2023-09-27 13:43:06 -04:00
<testcase>
<info>
<keywords>
HTTP
HTTP GET
etag
</keywords>
</info>
#
# Server-side
<reply>
<data>
HTTP/1.1 200 OK
Content-Length: 4
Content-Type: text/html
hej
</data>
</reply>
#
# Client-side
<client>
<server>
http
</server>
<name>
--etag-save with bad path then working transfer
</name>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --etag-save %LOGDIR/nowhere/etag%TESTNUMBER --next http://%HOSTIP:%HTTPPORT/%TESTNUMBER --include --output %LOGDIR/curl%TESTNUMBER.out
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
</protocol>
</verify>
</testcase>