Method: HTTP::Message#reason

Defined in:
lib/httpclient/http.rb

#reasonObject

Returns HTTP status reason phrase in response. String.



1012
1013
1014
# File 'lib/httpclient/http.rb', line 1012

def reason
  @http_header.reason_phrase
end