Exception: Rackful::HTTP307TemporaryRedirect
- Inherits:
-
HTTPStatus
- Object
- RuntimeError
- HTTPStatus
- Rackful::HTTP307TemporaryRedirect
- Defined in:
- lib/rackful/httpstatus.rb
Instance Attribute Summary (collapse)
-
- (void) headers
inherited
from HTTPStatus
readonly
Returns the value of attribute headers.
-
- (void) status
inherited
from HTTPStatus
readonly
Returns the value of attribute status.
-
- (void) to_rackful
inherited
from HTTPStatus
readonly
Returns the value of attribute to_rackful.
Instance Method Summary (collapse)
-
- (HTTP307TemporaryRedirect) initialize(location)
constructor
A new instance of HTTP307TemporaryRedirect.
Constructor Details
- (HTTP307TemporaryRedirect) initialize(location)
Returns a new instance of HTTP307TemporaryRedirect
185 186 187 188 |
# File 'lib/rackful/httpstatus.rb', line 185 def initialize location location = URI(location) super( 301, '', :Current location:' => location, 'Location' => location ) end |
Instance Attribute Details
- (void) headers (readonly) Originally defined in class HTTPStatus
Returns the value of attribute headers
- (void) status (readonly) Originally defined in class HTTPStatus
Returns the value of attribute status
- (void) to_rackful (readonly) Originally defined in class HTTPStatus
Returns the value of attribute to_rackful