curl/tests/data/test434
Daniel Stenberg aeb064db03
test434: add HTTP keyword
Closes #7209
2021-06-10 08:42:23 +02:00

47 lines
552 B
Plaintext

<testcase>
<info>
<keywords>
HTTP
--config
</keywords>
</info>
#
<reply>
<data>
HTTP/1.1 200 OK
Content-Length: 6
Content-Type: text/1
-foo-
</data>
</reply>
#
<client>
<file name="log/config%TESTNUMBER" nonewline="yes">
url = %HOSTIP:%HTTPPORT/%TESTNUMBER
</file>
<server>
http
</server>
<name>
-K with a single line without newline
</name>
<command>
-K log/config%TESTNUMBER
</command>
</client>
#
<verify>
<protocol>
GET /%TESTNUMBER HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
</protocol>
</verify>
</testcase>