Method: HTTP::Message#status=
- Defined in:
- lib/httpclient/http.rb
#status=(status) ⇒ Object
Sets HTTP status code of response. Integer. Reason phrase is updated, too.
1007 1008 1009 |
# File 'lib/httpclient/http.rb', line 1007 def status=(status) @http_header.status_code = status end |