Comparing version 1.4.6-experimental to 1.4.7-experimental
@@ -26,3 +26,3 @@ const http = require('http'); | ||
if (options.method === 'POST' || options.method === 'PUT') { | ||
options.headers['content-length'] = options.body.length; | ||
options.headers['content-length'] = Buffer.byteLength(options.body, 'utf8'); | ||
} else { | ||
@@ -29,0 +29,0 @@ delete options.body; |
{ | ||
"name": "hydra", | ||
"version": "1.4.6-experimental", | ||
"version": "1.4.7-experimental", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": "Carlos Justiniano", |
Sorry, the diff of this file is too big to display
239661
3405