django/django — pull request #2555 by mlavin (2014-04-14 23:49:04+00:00)
Title: Fixed #22440 -- Update ConditionalGetMiddleware to comply with RFC 2616

`ConditionalGetMiddleware` was previously sending 304 Not Modified responses for non-successful status codes in violation of RFC 2616 section 14 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

Trac Issue: https://code.djangoproject.com/ticket/22440