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

Maarten ter Huurne maarten at treewalker.org
Wed Aug 6 00:27:42 MDT 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: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/twisted-python/attachments/20080806/671d37e8/attachment.sig>


More information about the Twisted-Python mailing list