Re: [Web-SIG] WSGI input filter that changes content length.

2007-01-15 Thread Alan Kennedy
[Graham Dumpleton] How does one implement in WSGI an input filter that manipulates the request body in such a way that the effective content length would be changed? The problem I am trying to address here is how one might implement using WSGI a decompression filter for the body of a

Re: [Web-SIG] WSGI input filter that changes content length.

2007-01-15 Thread Graham Dumpleton
Alan Kennedy wrote .. [Graham Dumpleton] How does one implement in WSGI an input filter that manipulates the request body in such a way that the effective content length would be changed? The problem I am trying to address here is how one might implement using WSGI a decompression

Re: [Web-SIG] WSGI input filter that changes content length.

2007-01-15 Thread Robert Brewer
Graham Dumpleton wrote: My understanding is that content encoding is different to transfer encoding, ie., is not hop by hop in this sense and that the same statements don't apply. No, you're right. Content-Encoding: gzip is not hop-by-hop, and should therefore be allowed in middleware. But as

Re: [Web-SIG] WSGI input filter that changes content length.

2007-01-15 Thread Graham Dumpleton
Robert Brewer wrote .. Graham Dumpleton wrote: My understanding is that content encoding is different to transfer encoding, ie., is not hop by hop in this sense and that the same statements don't apply. No, you're right. Content-Encoding: gzip is not hop-by-hop, and should therefore be

[Web-SIG] [ANN] Aspen 0.7 -- WSGI + filesystem = sweet webserver

2007-01-15 Thread Chad Whitacre
Greetings, program! I've just released Aspen 0.7. Aspen is a Python webserver, and this is the first version to be used in production. As such, I'm announcing it generally as well as to the Web-SIG. This release is about making Aspen easy to configure, and making that configuration easy to

Re: [Web-SIG] [ANN] Aspen 0.5 -- module reloading directory handlers

2007-01-15 Thread Chad Whitacre
Francesco, Thanks for taking the bait. Sorry to wait so long to respond. :) $ cd /usr/local/www/example.com $ aspen ... What happens next? let me try.. $ aspen Aspen - Python web server - version 0.5 usage: aspen [-aAbCfhHkRstTzZ] try aspen --help for