Compare commits
No commits in common. "961740ffa05027f054a06b3466ce8eeaaf00e992" and "bb30d5acf62241791e2cadff8c961a885361d17f" have entirely different histories.
961740ffa0
...
bb30d5acf6
3
index.js
3
index.js
|
@ -120,9 +120,6 @@ function handleResponse(resp, opts, cb) {
|
||||||
resp.body = '';
|
resp.body = '';
|
||||||
}
|
}
|
||||||
resp._bodyLength = 0;
|
resp._bodyLength = 0;
|
||||||
resp.once('error', function (err) {
|
|
||||||
cb(err, resp, resp.body);
|
|
||||||
});
|
|
||||||
resp.on('readable', function () {
|
resp.on('readable', function () {
|
||||||
var chunk;
|
var chunk;
|
||||||
while ((chunk = resp.read())) {
|
while ((chunk = resp.read())) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "@root/request",
|
"name": "@root/request",
|
||||||
"version": "1.8.3",
|
"version": "1.8.2",
|
||||||
"lockfileVersion": 1
|
"lockfileVersion": 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@root/request",
|
"name": "@root/request",
|
||||||
"version": "1.8.3",
|
"version": "1.8.2",
|
||||||
"description": "A lightweight, zero-dependency drop-in replacement for request",
|
"description": "A lightweight, zero-dependency drop-in replacement for request",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
Loading…
Reference in New Issue