diff options
author | 2023-07-10 22:17:51 +0900 | |
---|---|---|
committer | 2023-07-10 22:33:07 +0900 | |
commit | 0c2df4ae012fdde46b2f61de17e640111cc9379b (patch) | |
tree | e2c88628bcac67a10c4e492e6e2e62e6aad7904e | |
parent | cc0d9200187de8d405dffcdb23c588e182ceccef (diff) | |
download | bun-0c2df4ae012fdde46b2f61de17e640111cc9379b.tar.gz bun-0c2df4ae012fdde46b2f61de17e640111cc9379b.tar.zst bun-0c2df4ae012fdde46b2f61de17e640111cc9379b.zip |
ignore check
-rw-r--r-- | src/js/node/http.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/node/http.ts b/src/js/node/http.ts index c8fbf20d6..253bcf4d8 100644 --- a/src/js/node/http.ts +++ b/src/js/node/http.ts @@ -992,8 +992,8 @@ export class ServerResponse extends Writable { // Express "compress" package uses this _implicitHeader() { - const statusMessage = this.statusMessage ?? STATUS_CODES[this.statusCode]; - this.writeHead(this.statusCode, statusMessage, {}); + // @ts-ignore + this.writeHead(this.statusCode); } _write(chunk, encoding, callback) { |