Skip to content

Commit 48ae5d8

Browse files
committed
[minor] style consistency
1 parent 95a5887 commit 48ae5d8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: lib/http-proxy/passes/web-outgoing.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
var url = require('url')
2-
var passes = exports;
1+
var url = require('url'),
2+
passes = exports;
3+
34
var redirectRegex = /^30(1|2|7|8)$/;
5+
46
/*!
57
* Array of passes.
68
*
@@ -21,7 +23,7 @@ var redirectRegex = /^30(1|2|7|8)$/;
2123
* @api private
2224
*/
2325
function removeChunked(req, res, proxyRes) {
24-
if(req.httpVersion === '1.0') {
26+
if (req.httpVersion === '1.0') {
2527
delete proxyRes.headers['transfer-encoding'];
2628
}
2729
},

0 commit comments

Comments
 (0)