module Arachnid::Resource::StatusCodes
Direct including types
Defined in:
arachnid/resource/status_codes.crInstance Method Summary
-
#bad_request?
Determines if the response code is
400
. -
#code
The response code from the resource.
-
#forbidden?
Determines if the response code is
403
. -
#had_internal_server_error?
Determines if the response code is
500
. -
#missing?
Determines if the response code is
404
. -
#ok?
Determines if the response code is
200
. -
#redirect?
Determines if the response code is
300
,301
,302
,303
or307
. -
#timedout?
Determines if the response code is
308
. -
#unauthorized?
Determines if the response code is
401
.
Instance Method Detail
def redirect?
#
Determines if the response code is 300
, 301
, 302
, 303
or 307
. Also checks for "soft" redirects added at the resource
level by a meta refresh tag.