[Twisted-Python] Re: Error Request did not return a string

Maarten ter Huurne maarten at treewalker.org
Wed Aug 6 02:27:42 EDT 2008


On Tuesday 05 August 2008, DJ wrote:

> Will request.finish have the same effect as return server.NOT_DONE_YET ?
> Or do the statements do different things ?

You have to use both: call request.finish() when you are done writing and 
return NOT_DONE_YET from the render method.

Bye,
		Maarten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20080806/671d37e8/attachment.pgp 


More information about the Twisted-Python mailing list