Class OpenID::Server::WebResponse
In: lib/openid/server.rb
Parent: Object

Response to an OpenID request that a web server can understand. Proper responses can be issued to your framework by examining the code method and associated methods.

Methods

Attributes

body  [RW] 
code  [RW] 
headers  [RW] 

Public Class methods

Public Instance methods

If this method returns true, a redirect should be issued by the webserver to the value returned by the redirect_url method.

If this method returns false, the value returned by the body method should be returned to ther server as-is without modification.

[Validate]