mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
e6b21d422e
... so that we can check HTTP requests for User-Agent: curl/%VERSION Update 600+ test cases accordingly. Closes #6037
47 lines
516 B
Plaintext
47 lines
516 B
Plaintext
<testcase>
|
|
|
|
<info>
|
|
<keywords>
|
|
--config
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
<reply>
|
|
<data>
|
|
HTTP/1.1 200 OK
|
|
Content-Length: 6
|
|
Content-Type: text/1
|
|
|
|
-foo-
|
|
</data>
|
|
</reply>
|
|
|
|
#
|
|
<client>
|
|
<file name="log/config434" nonewline="yes">
|
|
url = %HOSTIP:%HTTPPORT/434
|
|
</file>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
-K with a single line without newline
|
|
</name>
|
|
<command>
|
|
-K log/config434
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
<verify>
|
|
<protocol>
|
|
GET /434 HTTP/1.1
|
|
Host: %HOSTIP:%HTTPPORT
|
|
User-Agent: curl/%VERSION
|
|
Accept: */*
|
|
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|