diff --git a/lib/_http_client.js b/lib/_http_client.js index e490dce5d821d6..80865727e0c058 100644 --- a/lib/_http_client.js +++ b/lib/_http_client.js @@ -99,6 +99,8 @@ function ClientRequest(options, cb) { method === 'HEAD' || method === 'DELETE' || method === 'OPTIONS' || + method === 'PUT' || + method === 'TRACE' || method === 'CONNECT') { self.useChunkedEncodingByDefault = false; } else {