#11340: HttpResponseNotModified should not return Content-Type header ---------------------------+------------------------------------------------ Reporter: aparajita | Owner: nobody Status: new | Milestone: Component: HTTP handling | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 1 | ---------------------------+------------------------------------------------ Currently the HttpResponseNotModified class always returns a Content-Type header of text/html. Safari 4 complains about this. The http spec does not say that a 304 response should not have a Content-Type header, but on the other hand it expressly forbids a content body, so a Content-Type header does seem superfluous.
In any case, this can be fixed (and Safari stops complaining) with a simple change to the HttpResponseModified class. A patch is attached. -- Ticket URL: <http://code.djangoproject.com/ticket/11340> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---