Skip to content

Commit

Permalink
[minor] style consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrugzz committed Nov 25, 2014
1 parent 95a5887 commit 48ae5d8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/http-proxy/passes/web-outgoing.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
var url = require('url')
var passes = exports;
var url = require('url'),
passes = exports;

var redirectRegex = /^30(1|2|7|8)$/;

/*!
* Array of passes.
*
Expand All @@ -21,7 +23,7 @@ var redirectRegex = /^30(1|2|7|8)$/;
* @api private
*/
function removeChunked(req, res, proxyRes) {
if(req.httpVersion === '1.0') {
if (req.httpVersion === '1.0') {
delete proxyRes.headers['transfer-encoding'];
}
},
Expand Down

0 comments on commit 48ae5d8

Please sign in to comment.