We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8879fd commit 5bf4f87Copy full SHA for 5bf4f87
lib/protocol/rack/adapter/generic.rb
@@ -119,7 +119,7 @@ def unwrap_request(request, env)
119
120
# HTTP/2 prefers `:authority` over `host`, so we do this for backwards compatibility.
121
env[CGI::HTTP_HOST] ||= request.authority
122
-
+
123
if peer = request.peer
124
env[CGI::REMOTE_ADDR] = peer.ip_address
125
end
0 commit comments