HTTP::Client::Response
Inherits Reference < Object
Instance methods
redirect?
Returns true if the response status code is between 300 and 399.
strictly there are only 5 defined
300 Multiple Choices
301 Permanent redirect
302 Temporary redirect
303 See Other
304 Not Modified
305 Must Use Proxy
306 Unused
307 Temporary Redirect
308 Permanent Redirect
SEE http://www.restapitutorial.com/httpstatuscodes.html
request
Sourcerequest=(request : Nil | HTTP::Request)
Source