I am an abstract representation of a request for an entity.
I also function as the response. The request is responded to by calling
self.write(data) until there is no data left and then calling
self.finish().
Methods
|
|
finish
write
|
|
finish
|
finish ( self )
The response to this request is finished; flush all data to the network stream.
Exceptions
|
|
NotImplementedError("%s.finish" % str( self.__class__ ) )
|
|
|
write
|
write ( self, data )
Add some data to the response to this request.
Exceptions
|
|
NotImplementedError("%s.write" % str( self.__class__ ) )
|
|
|