Skip to content

Commit

Permalink
Update lib/async/http/protocol/http1/response.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix authored Oct 24, 2023
1 parent 5ed9fd6 commit cfa1011
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/async/http/protocol/http1/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def self.read(connection, request)

UPGRADE = 'upgrade'

attr_reader :reason
# @attribute [String] The HTTP response line reason.
attr :reason

# @param reason [String] HTTP response line reason phrase
def initialize(connection, version, status, reason, headers, body)
Expand Down

0 comments on commit cfa1011

Please sign in to comment.