I am a response to an OpenID request in terms a web server understands.
I generally come from an #Encoder, either directly or from #Server.encodeResponse.
The body of this response.
The HTTP code of this response as an integer.
Hash of headers to include in this response.
# File lib/openid/server.rb, line 964 def initialize(code=HTTP_OK, headers=nil, body="") # Construct me. # # These parameters are assigned directly as class attributes, # see my class documentation for their # descriptions. @code = code if headers @headers = headers else @headers = {} end @body = body end