Adjust test to match real world value
This commit is contained in:
parent
e503cceb61
commit
0a3c09a060
|
@ -137,6 +137,7 @@ class TestPumaServer < Minitest::Test
|
|||
|
||||
req = Net::HTTP::Get.new("/")
|
||||
req['HOST'] = "example.com"
|
||||
req['X-FORWARDED-PROTO'] = "https,http"
|
||||
|
||||
res = Net::HTTP.start @host, @server.connected_port do |http|
|
||||
http.request(req)
|
||||
|
|
Loading…
Reference in New Issue