v1.4.2: regression fix: copy 'method' to final object
This commit is contained in:
parent
1692b9e7df
commit
87bf5a5fc5
2
index.js
2
index.js
|
@ -504,7 +504,7 @@ function setDefaults(defs) {
|
|||
|
||||
var _defaults = {
|
||||
sendImmediately: true,
|
||||
//method: 'GET',
|
||||
method: '',
|
||||
headers: {},
|
||||
useQuerystring: false,
|
||||
followRedirect: true,
|
||||
|
|
|
@ -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": [
|
||||
|
|
Loading…
Reference in New Issue