Skip to content

Commit 5c95e6c

Browse files
committed
Set response code to 0 instead of 400 first.
1 parent 8f87dbc commit 5c95e6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/common/HTTPRequest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ HTTPRequest::HTTPRequest(ConnectionFactory factory)
1515
HTTPSClient::Reply HTTPRequest::request(const HTTPSClient::Request &req)
1616
{
1717
HTTPSClient::Reply reply;
18-
reply.responseCode = 400;
18+
reply.responseCode = 0;
1919

2020
auto info = parseUrl(req.url);
2121
if (!info.valid)

0 commit comments

Comments
 (0)