Skip to content

Commit

Permalink
Merge pull request #15 from espenhogbakk/master
Browse files Browse the repository at this point in the history
Add proxy as a possible request option
  • Loading branch information
dvonlehman committed Apr 13, 2016
2 parents 81105cb + d94b2b7 commit e13778b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/request-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ var CACHE_HEADERS = ['if-none-match', 'if-modified-since'];

// Returns an options object that can be fed to the request module.
module.exports = function(req, options, limits) {
var requestOptions = _.pick(options, 'method', 'timeout', 'maxRedirects');
var requestOptions = _.pick(options, 'method', 'timeout', 'maxRedirects', 'proxy');

// If an explicit method was not specified on the options, then use the
// method of the inbound request to the proxy.
Expand Down

0 comments on commit e13778b

Please sign in to comment.