From 1692b9e7dfd32f8e720bfdf41f724cbfb4255dd6 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 29 Oct 2019 21:53:39 -0600 Subject: [PATCH] v1.4.1: GET by default *after* POST body check --- index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 7410e27..7dd9f04 100644 --- a/index.js +++ b/index.js @@ -504,7 +504,7 @@ function setDefaults(defs) { var _defaults = { sendImmediately: true, - method: 'GET', + //method: 'GET', headers: {}, useQuerystring: false, followRedirect: true, diff --git a/package.json b/package.json index bfd9643..75e25cd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@root/request", - "version": "1.4.0", + "version": "1.4.1", "description": "A lightweight, zero-dependency drop-in replacement for request", "main": "index.js", "files": [