Skip to content

Commit

Permalink
Adjust test to match real world value
Browse files Browse the repository at this point in the history
  • Loading branch information
evanphx committed May 21, 2020
1 parent ad8197e commit 2f1dfbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_puma_server.rb
Expand Up @@ -153,7 +153,7 @@ def test_default_server_port_respects_x_forwarded_proto

req = Net::HTTP::Get.new("/")
req['HOST'] = "example.com"
req['X_FORWARDED_PROTO'] = "https,http"
req['X-FORWARDED-PROTO'] = "https,http"

port = @server.connected_ports[0]
res = Net::HTTP.start @host, port do |http|
Expand Down

0 comments on commit 2f1dfbc

Please sign in to comment.