mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
parent
6a7c01c2f0
commit
79a1de9b14
1 changed files with 1 additions and 1 deletions
2
http.ts
2
http.ts
|
@ -70,7 +70,7 @@ class ServerRequest {
|
|||
throw Error("bad status code");
|
||||
}
|
||||
|
||||
let out = `HTTP/${protoMajor}.${protoMinor} ${r.status} ${statusText}\r\n`;
|
||||
let out = `HTTP/${protoMajor}.${protoMinor} ${statusCode} ${statusText}\r\n`;
|
||||
|
||||
setContentLength(r);
|
||||
|
||||
|
|
Loading…
Reference in a new issue