v1.4.2: regression fix: copy 'method' to final object

This commit is contained in:
AJ ONeal 2019-11-01 01:18:25 -06:00
parent 1692b9e7df
commit 87bf5a5fc5
2 changed files with 2 additions and 2 deletions

View File

@ -504,7 +504,7 @@ function setDefaults(defs) {
var _defaults = {
sendImmediately: true,
//method: 'GET',
method: '',
headers: {},
useQuerystring: false,
followRedirect: true,

View File

@ -1,6 +1,6 @@
{
"name": "@root/request",
"version": "1.4.1",
"version": "1.4.2",
"description": "A lightweight, zero-dependency drop-in replacement for request",
"main": "index.js",
"files": [