Skip to content
Permalink
Browse files

[minor] style consistency

  • Loading branch information...
jcrugzz committed Nov 25, 2014
1 parent 95a5887 commit 48ae5d828c23d6f19c9e2dd8c922d88a09f5ed0f
Showing with 5 additions and 3 deletions.
  1. +5 −3 lib/http-proxy/passes/web-outgoing.js
@@ -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.
*
@@ -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'];
}
},

0 comments on commit 48ae5d8

Please sign in to comment.
You can’t perform that action at this time.