Comparing version 2.3.2 to 2.3.3
@@ -155,3 +155,7 @@ "use strict"; | ||
opts.body = JSON.stringify(opts.data); | ||
opts.headers['Content-Type'] = 'application/json'; | ||
// Allow the user to specifiy their own content type, | ||
// such as application/json-patch+json: | ||
if (!opts.headers['Content-Type']) { | ||
opts.headers['Content-Type'] = 'application/json'; | ||
} | ||
} | ||
@@ -158,0 +162,0 @@ else { |
{ | ||
"name": "gaxios", | ||
"version": "2.3.2", | ||
"version": "2.3.3", | ||
"description": "A simple common HTTP client specifically for Google APIs and services.", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
Sorry, the diff of this file is not supported yet
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
52990
569