Class: Praxis::Responses::TemporaryRedirect

Inherits:
Praxis::Response show all
Defined in:
lib/praxis/responses/http.rb

Overview

In this case, the request should be repeated with another URI; however, future requests should still use the original URI. In contrast to how 302 was historically implemented, the request method is not allowed to be changed when reissuing the original request. For instance, a POST request should be repeated using another POST request.

Instance Attribute Summary

Attributes inherited from Praxis::Response

#body, #headers, #name, #parts, #request, #status

Method Summary

Methods inherited from Praxis::Response

#add_part, #content_type, #content_type=, #encode!, #finish, #format!, #handle, inherited, #initialize, #response_name, #validate

Constructor Details

This class inherits a constructor from Praxis::Response