                  raise ValueError('HTTP status code must be an integer from 100 to 599.')
          self._reason_phrase = reason
          self._charset = charset
          if content_type is None:
              content_type = '%s; charset=%s' % (settings.DEFAULT_CONTENT_TYPE,
                                                 self.charset)
          self['Content-Type'] = content_type
  
      @property
      def reason_phrase(self):
          if self._reason_phrase is not None:
 
</s> remove         content_type = None             # Django will use DEFAULT_CONTENT_TYPE
 </s> add         content_type = None             # Django will use 'text/html'. </s> remove     @property
    def DEFAULT_CONTENT_TYPE(self):
        stack = traceback.extract_stack()
        # Show a warning if the setting is used outside of Django.
        # Stack index: -1 this line, -2 the caller.
        filename, _line_number, _function_name, _text = stack[-2]
        if not filename.startswith(os.path.dirname(django.__file__)):
            warnings.warn(
                DEFAULT_CONTENT_TYPE_DEPRECATED_MSG,
                RemovedInDjango30Warning,
                stacklevel=2,
            )
        return self.__getattr__('DEFAULT_CONTENT_TYPE')

 </s> add  </s> remove DEFAULT_CONTENT_TYPE_DEPRECATED_MSG = 'The DEFAULT_CONTENT_TYPE setting is deprecated.'
 </s> add  </s> remove         if self.get('Content-Type', '').startswith(settings.DEFAULT_CONTENT_TYPE):
 </s> add         if self.get('Content-Type', '').startswith('text/html'): </s> remove         if self.is_overridden('DEFAULT_CONTENT_TYPE'):
            warnings.warn(DEFAULT_CONTENT_TYPE_DEPRECATED_MSG, RemovedInDjango30Warning)
 </s> add 
            content_type = 'text/html; charset=%s' % self.charset
                  raise ValueError('HTTP status code must be an integer from 100 to 599.')
          self._reason_phrase = reason
          self._charset = charset
          if content_type is None:
            content_type = 'text/html; charset=%s' % self.charset
            content_type = 'text/html; charset=%s' % self.charset
          self['Content-Type'] = content_type
  
      @property
      def reason_phrase(self):
          if self._reason_phrase is not None:
keep keep keep keep replace replace keep keep keep keep keep
 Refs #27829 -- Removed settings.DEFAULT_CONTENT_TYPE per deprecation timeline. 
django/http/response.py