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.
2 parents 544c90c + edb9056 commit 473c1f0Copy full SHA for 473c1f0
actionpack/lib/action_controller/metal/live.rb
@@ -58,7 +58,7 @@ module Live
58
59
module ClassMethods
60
def make_response!(request)
61
- if request.get_header("HTTP_VERSION") == "HTTP/1.0"
+ if (request.get_header("SERVER_PROTOCOL") || request.get_header("HTTP_VERSION")) == "HTTP/1.0"
62
super
63
else
64
Live::Response.new.tap do |res|
0 commit comments