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 = {
|
var _defaults = {
|
||||||
sendImmediately: true,
|
sendImmediately: true,
|
||||||
//method: 'GET',
|
method: '',
|
||||||
headers: {},
|
headers: {},
|
||||||
useQuerystring: false,
|
useQuerystring: false,
|
||||||
followRedirect: true,
|
followRedirect: true,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@root/request",
|
"name": "@root/request",
|
||||||
"version": "1.4.1",
|
"version": "1.4.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