You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

lightning-request-net

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightning-request-net - npm Package Compare versions

Comparing version

to
0.2.3

{
"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) {