mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
8b1e5df73d
This commit fixes a bug in the dump-header feature regarding the determination of the second fopen(3) option. Reported-by: u20221022 on github See #4753 See #4762 Fixes #10074 Closes #10079
43 lines
598 B
Plaintext
43 lines
598 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
</keywords>
|
|
</info>
|
|
|
|
<reply>
|
|
<data>
|
|
HTTP/1.1 200 OK
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
|
Content-Length: 6
|
|
|
|
-foo-
|
|
</data>
|
|
</reply>
|
|
|
|
<client>
|
|
<server>
|
|
http
|
|
</server>
|
|
<name>
|
|
HTTP with multiple transfers in one -D
|
|
</name>
|
|
<command>
|
|
-D log/heads%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER http://%HOSTIP:%HTTPPORT/%TESTNUMBER
|
|
</command>
|
|
</client>
|
|
|
|
<verify>
|
|
<file name="log/heads%TESTNUMBER">
|
|
HTTP/1.1 200 OK
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
|
Content-Length: 6
|
|
|
|
HTTP/1.1 200 OK
|
|
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
|
Content-Length: 6
|
|
|
|
</file>
|
|
</verify>
|
|
|
|
</testcase> |