[Twisted-web] HTTPAuthSessionWrapper render

Jared Gisin jared.gisin at isilon.com
Tue Jun 30 18:38:46 EDT 2009


It seems to be completely broken for wrapping a child resource. You can
wrap the site root resource, but not a child?  What am I missing here?

-----Original Message-----
From: twisted-web-bounces at twistedmatrix.com
[mailto:twisted-web-bounces at twistedmatrix.com] On Behalf Of Jared Gisin
Sent: Tuesday, June 30, 2009 3:33 PM
To: Twisted Web World
Subject: [Twisted-web] HTTPAuthSessionWrapper render

Is it just me, or do I not get the spirit of HTTPAuthSessionWrapper. Why
does it have a render method? This is a wrapper, shouldn't it be calling
the render of the avatar that it's fetching, not itself? Why isn't it
just a mixin that can enforce HTTP auth for any arbitrary resource?

_______________________________________________
Twisted-web mailing list
Twisted-web at twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web



More information about the Twisted-web mailing list