Method: HTTP::Message#reason=
- Defined in:
- lib/httpclient/http.rb
#reason=(reason) ⇒ Object
Sets HTTP status reason phrase of response. String.
1017 1018 1019 |
# File 'lib/httpclient/http.rb', line 1017 def reason=(reason) @http_header.reason_phrase = reason end |