Ticket #11340: patch.diff

File patch.diff, 456 bytes (added by aparajita, 15 years ago)
  • django/http/__init__.py

     
    416416class HttpResponseNotModified(HttpResponse):
    417417    status_code = 304
    418418
     419    def __init__(self):
     420        HttpResponse.__init__(self)
     421        del self._headers['content-type']
     422
    419423class HttpResponseBadRequest(HttpResponse):
    420424    status_code = 400
    421425
Back to Top