Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
curl: Fix response status parsing (#633)
The response headers can have multiple steps in them, example: "HTTP/1.1 200 Connection established", "", "HTTP/1.1 400 Bad Request", "Content-Security-Policy: default-src 'none'; sandbox", "Content-Type: text/plain; charset=utf-8", "Strict-Transport-Security: max-age=31536000", "X-Content-Type-Options: nosniff", before this would be reported as 200 incorrectly instead of 400 bad request. this fixes that issue Signed-off-by: Tomas Slusny <[email protected]>
- Loading branch information