curlrequest
Advanced tools
Comparing version 0.3.2 to 0.3.3-1
@@ -124,3 +124,5 @@ var util = require('util') | ||
//Follow location by default | ||
if (!options['max-redirs']) { | ||
if ('max-redirs' in options) { | ||
options.location = !!options['max-redirs']; | ||
} else { | ||
options.location = true; | ||
@@ -156,3 +158,3 @@ options['max-redirs'] = 3; | ||
for (var key in options.data) { | ||
data.push(encodeURIComponent(key) + '=' + encodeURIComponent(options.data[key])); | ||
data.push(escape(key) + '=' + escape(options.data[key])); | ||
} | ||
@@ -159,0 +161,0 @@ options.data = data.join('&'); |
{ "name" : "curlrequest", | ||
"description" : "A curl wrapper for node", | ||
"version" : "0.3.2", | ||
"version" : "0.3.3-1", | ||
"homepage" : "https://github.com/chriso/curlrequest", | ||
@@ -5,0 +5,0 @@ "author" : "Chris O'Hara <cohara87@gmail.com>", |
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
25992
453