Comparing version 0.3.1 to 0.3.2
@@ -124,3 +124,3 @@ /* | ||
if(body){ | ||
requestoptions['headers']['Content-Length'] = body.length; | ||
requestoptions['headers']['Content-Length'] = (new Buffer(body, 'utf8')).length; | ||
} | ||
@@ -200,3 +200,3 @@ | ||
if(body) | ||
request.write(body); | ||
request.write(body, 'utf8'); | ||
@@ -203,0 +203,0 @@ request.end(); |
{ | ||
"name": "httpreq", | ||
"description": "node-httpreq is a node.js library to do HTTP(S) requests the easy way", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Sam Decrock", |
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
80745