1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-25 17:48:48 -05:00
curl/tests/data/test434

47 lines
552 B
Plaintext
Raw Normal View History

<testcase>
<info>
<keywords>
2021-06-08 11:45:45 -04:00
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>