Skip to content

Commit 32a7ce1

Browse files
committed
remove logging
1 parent 3149660 commit 32a7ce1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

_write.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,9 @@ module.exports = function _write(httpMethod, options, callback) {
2828
opts.headers = options.headers || {}
2929
opts.headers['User-Agent'] = opts.headers['User-Agent'] || 'tiny-http'
3030
opts.headers['Content-Type'] = opts.headers['Content-Type'] || defaultContentType
31-
// opts.headers['Content-Type'] = 'application/x-www-form-urlencoded'
3231
var reqJSON = opts.headers['Content-Type'].startsWith('application/json')
3332
var postData = reqJSON? JSON.stringify(options.data || {}) : qs.stringify(options.data || {})
3433

35-
console.log('debug info for!!!', opts)
3634
// make a POST request
3735
var req = method(opts, function(res) {
3836

0 commit comments

Comments
 (0)