Class: Praxis::Responses::Unauthorized
- Inherits:
-
Praxis::Response
- Object
- Praxis::Response
- Praxis::Responses::Unauthorized
- Defined in:
- lib/praxis/responses/http.rb
Overview
Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. The response must include a WWW-Authenticate header field containing a challenge applicable to the requested resource. See Basic access authentication and Digest access authentication.
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