fix: remove duplicated status code (#15707)
Removed the hardcoded status code from the protocol response as the real status code is appended immediately after.
This commit is contained in:
parent
47bf8e1bb3
commit
a68e3371f3
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ void URLRequestBufferJob::Kill() {
|
|||
}
|
||||
|
||||
void URLRequestBufferJob::GetResponseInfo(net::HttpResponseInfo* info) {
|
||||
std::string status("HTTP/1.1 200 OK");
|
||||
std::string status("HTTP/1.1 ");
|
||||
status.append(base::IntToString(status_code_));
|
||||
status.append(" ");
|
||||
status.append(net::GetHttpReasonPhrase(status_code_));
|
||||
|
|
Loading…
Reference in a new issue