diff --git a/lib/async/websocket/upgrade_response.rb b/lib/async/websocket/upgrade_response.rb index 14b454e..21e9597 100644 --- a/lib/async/websocket/upgrade_response.rb +++ b/lib/async/websocket/upgrade_response.rb @@ -18,7 +18,6 @@ def initialize(request, headers = nil, protocol: nil, &block) if accept_nounce = request.headers[SEC_WEBSOCKET_KEY]&.first headers.add(SEC_WEBSOCKET_ACCEPT, Nounce.accept_digest(accept_nounce)) - status = 101 if protocol headers.add(SEC_WEBSOCKET_PROTOCOL, protocol)