summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/http.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/http.js b/lib/http.js
index 6f640d1af..f4e8db7de 100644
--- a/lib/http.js
+++ b/lib/http.js
@@ -946,10 +946,6 @@ OutgoingMessage.prototype.end = function(data, encoding) {
if (encoding === 'hex' || encoding === 'base64')
hot = false;
- // Transfer-encoding: chunked responses to HEAD requests
- if (this._hasBody && this.chunkedEncoding)
- hot = false;
-
if (hot) {
// Hot path. They're doing
// res.writeHead();