[Twisted-Python] request getUser()/getPassword() in Woven and resources...

Stuart Hungerford stuart.hungerford at anu.edu.au
Wed Oct 29 23:52:32 EST 2003

Hi all,

I've had a twisted web application running for a while that
uses request.getUser() and request.getPassword() in a
resource subclass render() method to make the web browser
prompt for a username/password.

I've been refactoring this application to use Woven page
subclasses and the same request.getFoo() calls now
return empty strings rather than None, and no prompting
from the browser is done.

Is there some gotcha in using request.getUser() and
request.getPassword() from Woven page subclasses?



:: Stuart Hungerford (stuart.hungerford at anu.edu.au)
:: ANU Internet Futures Group

More information about the Twisted-Python mailing list