mirror of
https://github.com/curl/curl.git
synced 2026-08-26 06:13:35 +03:00
http: have CURLOPT_FAILONERROR fail after all headers
... so that Retry-After and other meta-content can still be used. Added 1634 to verify. Adjusted test 194 and 281 since --fail now also includes the header-terminating CRLF in the output before it exits. Fixes #6408 Closes #6409
This commit is contained in:
parent
9d7281ff17
commit
ab525c059e
5 changed files with 90 additions and 37 deletions
|
|
@ -14,11 +14,8 @@ HTTP/1.1 401 Bad Auth swsclose
|
|||
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
||||
WWW-Authenticate: Basic Realm=authenticate
|
||||
Server: test-server/fake
|
||||
</data>
|
||||
<datacheck>
|
||||
HTTP/1.1 100 Continue
|
||||
|
||||
</datacheck>
|
||||
</data>
|
||||
|
||||
</reply>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue