Re: CONTENT-LENGTH not being set

2006-05-14 Thread Adrian Holovaty
On 5/13/06, Martin Ostrovsky <[EMAIL PROTECTED]> wrote: > Is there a reason why CONTENT-LENGTH is always blank in the environ > dictionary that gets passed to WSGIRequest ? > (django/core/handlers/wsgi.py) If you want to set the "content-length" header, use the ConditionalGetMiddleware middleware

Re: CONTENT-LENGTH not being set

2006-05-13 Thread Malcolm Tredinnick
On Sat, 2006-05-13 at 09:11 -0700, Martin Ostrovsky wrote: > Hello, > > Is there a reason why CONTENT-LENGTH is always blank in the environ > dictionary that gets passed to WSGIRequest ? > (django/core/handlers/wsgi.py) What web server front-end are you using to handle the request? Development s

CONTENT-LENGTH not being set

2006-05-13 Thread Martin Ostrovsky
Hello, Is there a reason why CONTENT-LENGTH is always blank in the environ dictionary that gets passed to WSGIRequest ? (django/core/handlers/wsgi.py) Why isn't it just automatically computed based on the length of the request's content? The reason I ask is because I'm getting an exception rais