durusmail: quixote-users: Re: Medusa
Medusa
2003-07-01
2003-07-01
2003-07-01
2003-07-01
2003-07-01
2003-07-01
BaseHTTPServer triggers M$IE bug (was: Medusa)
2003-07-02
BaseHTTPServer triggers M$IE bug
2003-07-02
Re: Medusa
2003-07-02
2003-07-02
2003-07-02
2003-07-02
Re: Medusa
2003-07-02
Re: Medusa
Graham Fawcett
2003-07-02
Oleg Broytmann wrote:

>    First problem is that quixote.server.medusa_http does not pass all HTTP
> header. I need Authorization header to implement Basic Auth authorization
> scheme. Attached is a patch... just a few lines copied from
> twisted_http.py.

+1 for the patch, especially the header-propogation part. I had meant to do
this myself, thanks Oleg for taking the time. (That snippet from twisted_http
was itself borrowed from twisted.web.twcgi, by the way.)

I'd encourage the other 'server script' maintainers to use a similar tactic;
Quixote apps should always have access to the whole request, IMO, not just
selected headers; and this should be the case regardless of what Web server is
being used.

-- Graham



reply