| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent ec3e5b4 commit 336571f
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -459,8 +459,7 @@ function _storeHeader(firstLine, headers) { | |||
| 459 | 459 | } | |
| 460 | 460 | ||
| 461 | 461 | if (!state.contLen && !state.te) { | |
| 462 | - if (!this._hasBody && (this.statusCode === 204 || | ||
| 463 | - this.statusCode === 304)) { | ||
| 462 | + if (!this._hasBody) { | ||
| 464 | 463 | // Make sure we don't end the 0\r\n\r\n at the end of the message. | |
| 465 | 464 | this.chunkedEncoding = false; | |
| 466 | 465 | } else if (!this.useChunkedEncodingByDefault) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments