lightning-request-net
Advanced tools
{ | ||
"name": "lightning-request-net", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Lightweight Node.js HTTP client based on net.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -57,3 +57,3 @@ const CRLF = '\r\n'; | ||
}); | ||
if (headers['Transfer-Encoding']) { | ||
if (headers['transfer-encoding']) { | ||
const idx = responseBodyText.indexOf(CRLF); | ||
@@ -60,0 +60,0 @@ if (idx > -1) { |