You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/async/http/protocol/http1/server.rb
+4-4
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ def each(task: Task.current)
47
47
48
48
whilerequest=next_request
49
49
response=yield(request,self)
50
+
version=request.version
50
51
body=response&.body
51
52
52
53
ifhijacked?
@@ -77,7 +78,7 @@ def each(task: Task.current)
77
78
# This code path is to support legacy behavior where the response status is set to 101, but the protocol is not upgraded. This may not be a valid use case, but it is supported for compatibility. We expect the response headers to contain the `upgrade` header.
0 commit comments