Comparing version 2.19.0 to 2.20.0
@@ -120,2 +120,6 @@ // Copyright 2010-2012 Mikeal Rogers | ||
if (options.method) { | ||
this.explicitMethod = true | ||
} | ||
this.init(options) | ||
@@ -400,3 +404,3 @@ } | ||
self.headers['content-type'] = 'application/json' | ||
if (src.method && !self.method) { | ||
if (src.method && !self.explicitMethod) { | ||
self.method = src.method | ||
@@ -403,0 +407,0 @@ } |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "2.19.0", | ||
"version": "2.20.0", | ||
"author": "Mikeal Rogers <mikeal.rogers@gmail.com>", | ||
@@ -13,0 +13,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
197734
53
3197
24