Skip to content

Commit 731aa85

Browse files
committed
fix Rack response for https_redirect
see also waterlink/rack-reverse-proxy#36
1 parent 7a75d93 commit 731aa85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rack_reverse_proxy/roundtrip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def options
5656
def https_redirect
5757
rewrite_uri(uri, source_request)
5858
uri.scheme = "https"
59-
[301, { "Location" => uri.to_s }, ""]
59+
[301, { "Location" => uri.to_s }, [""]]
6060
end
6161

6262
def need_https_redirect?

0 commit comments

Comments
 (0)