Append django.middleware.http.ConditionalGetMiddleware in MIDDLEWARE_CLASSES. This causes content-length header to be appended to output.
Append django.middleware.http.ConditionalGetMiddleware in MIDDLEWARE_CLASSES.
This causes content-length header to be appended to output.

This in turn allows http 1.1 keep-alive to function, improving performance
when run under uwsgi

sandvine/horizon,sandvine/horizon,sandvine/horizon,sandvine/horizon