Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed Jan 27, 2015
1 parent 76f6d7f commit b7c1e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions request.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function constructProxyHeaderWhiteList(headers, proxyHeaderWhiteList) {
}, {})
}

function construcTunnelOptions(request) {
function constructTunnelOptions(request) {
var proxy = request.proxy

var tunnelOptions = {
Expand Down Expand Up @@ -285,7 +285,7 @@ Request.prototype.setupTunnel = function () {
proxyHeaderExclusiveList.forEach(self.removeHeader, self)

var tunnelFn = getTunnelFn(self)
var tunnelOptions = construcTunnelOptions(self)
var tunnelOptions = constructTunnelOptions(self)

self.agent = tunnelFn(tunnelOptions)
return true
Expand Down

0 comments on commit b7c1e1e

Please sign in to comment.