[Twisted-Python] resource.render_METHOD

Richard.Townsend at edl.uk.eds.com Richard.Townsend at edl.uk.eds.com
Wed Mar 3 03:50:16 EST 2004

> Hmm. I suppose render() could grope through methods on self to find all
> 'render_FOO' methods when an exception occurs.. OTOH, we could just get
> rid of the allowed methods reporting. What's the use?

Perhaps the Resource.render() method could check for self.allowedMethods
instead of server.UnsupportedMethod.allowedMethods, then I could set it
as a class attribute in each derived class?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20040303/662b214e/attachment.htm 

More information about the Twisted-Python mailing list