1
0
зеркало из https://github.com/therootcompany/request.js.git synced 2024-11-16 17:28:58 +00:00

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

Этот коммит содержится в:
AJ ONeal 2019-11-01 01:18:25 -06:00
родитель 1692b9e7df
Коммит 87bf5a5fc5
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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": [