[Twisted-Python] Light-est-weight http authentication

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Mon Feb 8 14:32:37 EST 2010

On 07:23 pm, brad.milne at devx.runthered.com wrote:
>I have a backend Twisted application with a front end in Django. Some 
>their communication is via web services. Currently they are deployed on 
>same box but may be separated in future. I want to enforce some basic
>authentication on the web services, so some lightweight http header
>authentication looks best. I've found the twisted.web.guard api, but it
>seems to be more heavyweight than I require (e.g. running up a Portal).
>Given the breadth of the Twisted apis, I'm confident I wouldn't have to
>hand-craft something to check the auth header myself. What do you guys

A portal takes about 28.9 µW to "run up" (given contemporary hardware). 
What makes you say this is "heavyweight"?


More information about the Twisted-Python mailing list