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 component. http://www.djangoproject.com/documentation/middleware/#django-middleware-http-conditionalgetmiddleware Django doesn't do this by default for performance. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---
