소스 검색

Set response code to 0 instead of 400 first.

Miku AuahDark 3 년 전
부모
커밋
5c95e6c53d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/common/HTTPRequest.cpp

+ 1 - 1
src/common/HTTPRequest.cpp

@@ -15,7 +15,7 @@ HTTPRequest::HTTPRequest(ConnectionFactory factory)
 HTTPSClient::Reply HTTPRequest::request(const HTTPSClient::Request &req)
 {
 	HTTPSClient::Reply reply;
-	reply.responseCode = 400;
+	reply.responseCode = 0;
 
 	auto info = parseUrl(req.url);
 	if (!info.valid)