mailgun-js
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -65,6 +65,11 @@ /*! | ||
var headers = { | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
'Content-Length': qsdata.length | ||
}; | ||
if (method === 'GET' || method === 'DELETE') { | ||
path = path.concat('?', qsdata); | ||
} | ||
else { | ||
var headers = { | ||
'Content-Type': 'application/x-www-form-urlencoded', | ||
'Content-Length': qsdata.length | ||
}; | ||
} | ||
@@ -116,3 +121,6 @@ var opts = { | ||
req.write(qsdata); | ||
if (method === 'POST' || method === 'PUT' || method === 'PATCH') { | ||
req.write(qsdata); | ||
} | ||
req.end(); | ||
@@ -119,0 +127,0 @@ } |
@@ -8,3 +8,3 @@ { | ||
"keywords": ["email", "mailgun"], | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"homepage": "https://github.com/1lobby/mailgun-js", | ||
@@ -11,0 +11,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
51864
13
549
0
122