ant-http
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -367,3 +367,4 @@ const http = require('http'); | ||
data : Object if method == POST, | ||
target : FILE_PATH | ||
target : FILE_PATH, | ||
headers : {} | ||
*/ | ||
@@ -392,2 +393,3 @@ this.downStream = function(url, options, callback) { | ||
return this.post(url, { | ||
headers : options.headers, | ||
encoding : 'binary', | ||
@@ -394,0 +396,0 @@ data : options.data, |
{ | ||
"name": "ant-http", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "simple http/https request lib", | ||
@@ -5,0 +5,0 @@ "main": "anthttp.js", |
12881
335