Skip to content

Commit 2d11734

Browse files
committed
Tab fixes
1 parent 2ce83d6 commit 2d11734

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/rack/reverse_proxy.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def call(env)
2323
headers[$1] = value
2424
end
2525
}
26-
headers['HOST'] = uri.host if all_opts[:preserve_host]
26+
headers['HOST'] = uri.host if all_opts[:preserve_host]
2727

28-
session = Net::HTTP.new(uri.host, uri.port)
29-
session.read_timeout=all_opts[:timeout] if all_opts[:timeout]
28+
session = Net::HTTP.new(uri.host, uri.port)
29+
session.read_timeout=all_opts[:timeout] if all_opts[:timeout]
3030

3131
session.use_ssl = (uri.scheme == 'https')
3232
if uri.scheme == 'https' && all_opts[:verify_ssl]
@@ -35,7 +35,7 @@ def call(env)
3535
# DO NOT DO THIS IN PRODUCTION !!!
3636
session.verify_mode = OpenSSL::SSL::VERIFY_NONE
3737
end
38-
session.start { |http|
38+
session.start { |http|
3939
m = rackreq.request_method
4040
case m
4141
when "GET", "HEAD", "DELETE", "OPTIONS", "TRACE"

0 commit comments

Comments
 (0)