Skip to content

Commit 554cd2e

Browse files
authored
Merge pull request jaswope#43 from jjb/fix-https-redirect-response
fix Rack response for https_redirect
2 parents 233ea26 + 731aa85 commit 554cd2e

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)