signal handling oddity
Justin Johnson
justinjohnson at fastmail.fm
Mon Jun 9 11:17:05 EDT 2003
More information about the Python-list mailing list
Mon Jun 9 11:17:05 EDT 2003
- Previous message (by thread): signal handling oddity
- Next message (by thread): PEP 317: Eliminate Implicit Exception Instantiation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Do you know if twisted supports basic auth? I had to add code on both server and client to properly handle basic auth. On 9 Jun 2003 15:00:13 -0000, "Moshe Zadka" <m at moshez.org> said: > On Mon, 09 Jun 2003, "Justin Johnson" <justinjohnson at fastmail.fm> wrote: > > > Yeah, I was using twisted before for this server and it did handle > > control-c correctly. I was having problems getting authentication to > > work though, so I ended up moving to SimpleXMLRPCServer and adding some > > other code to get basic authentication to work. I'm just not familiar > > enough with twisted to know what to subclass/override, etc... to get > > simple user/password authentication to work. > > Well, probably in the render() method of your resource, you do > the checking of request.headers (there's no problem doing it > manually), and if they're ok you call the parent's render() > and otherwise you return a 401. > -- > Moshe Zadka -- http://moshez.org/ > Buffy: I don't like you hanging out with someone that... short. > Riley: Yeah, a lot of young people nowadays are experimenting with > shortness. > Agile Programming Language -- http://www.python.org/ > > -- > http://mail.python.org/mailman/listinfo/python-list >
- Previous message (by thread): signal handling oddity
- Next message (by thread): PEP 317: Eliminate Implicit Exception Instantiation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list