Package circuits :: Package web :: Module wrappers :: Class Response

Class Response

object --+
         |
        Response

Response(sock, request) -> new Response object

A Response object that holds the response to send back to the client. This ensure that the correct data is sent in the correct order.

Instance Methods
new Response object
__init__(sock, request)
initializes x; see x.__class__.__doc__ for signature
 
__repr__(self)
repr(x)
 
__str__(self)
str(x)
 
clear(self)
 
process(self)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(sock, request)
(Constructor)

 

initializes x; see x.__class__.__doc__ for signature

Returns: new Response object
Overrides: object.__init__

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)