Skip to content

Commit

Permalink
Merge pull request #360 from machao/master
Browse files Browse the repository at this point in the history
Add lookup param for request
  • Loading branch information
tomas authored Jul 2, 2021
2 parents 339c4e6 + bbcae13 commit 4e8b440
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/needle.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ Needle.prototype.setup = function(uri, options) {

var config = {
http_opts : {
localAddress: get_option('localAddress', undefined)
localAddress: get_option('localAddress', undefined),
lookup: get_option('lookup', undefined)
}, // passed later to http.request() directly
headers : {},
output : options.output,
Expand Down

0 comments on commit 4e8b440

Please sign in to comment.