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 614111e commit adc6a6aCopy full SHA for adc6a6a
spec/rack/reverse_proxy_spec.rb
@@ -40,7 +40,7 @@ def app
40
it "should set the Host header" do
41
stub_request(:any, 'example.com/test/stuff')
42
get '/test/stuff'
43
- a_request(:get, 'http://example.com/test/stuff').with(:headers => {"Host" => "example.com"}).should have_been_made
+ a_request(:get, 'http://example.com/test/stuff').with(:headers => {"Host" => "example.com:80"}).should have_been_made
44
end
45
46
it "should set the X-Forwarded-Host header to the proxying host by default" do
0 commit comments