Commit 8c6beaa8 authored by Kamron Aroonrua's avatar Kamron Aroonrua 💬

dt-http

parent 4d937e3d
...@@ -105,7 +105,7 @@ function send_request(prm,cb) ...@@ -105,7 +105,7 @@ function send_request(prm,cb)
} }
options.encoding = (prm.resp_encode == 'binary')?null:'utf8'; options.encoding = (prm.resp_encode == 'binary')?null:'utf8';
console.log(options);
request(options, function (err, resp, body) { request(options, function (err, resp, body) {
if (!err) { if (!err) {
cb(err, resp, body); cb(err, resp, body);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment