          if isinstance(ret, six.text_type):
              assert charset, 'renderer returned unicode, and did not specify ' \
              'a charset value.'
              return bytes(ret.encode(charset))
          return ret
  
      @property
      def status_text(self):
          """
          Returns reason text corresponding to our HTTP response status code.
 
</s>
        if not ret:
            del self['Content-Type']

          if isinstance(ret, six.text_type):
              assert charset, 'renderer returned unicode, and did not specify ' \
              'a charset value.'
              return bytes(ret.encode(charset))
        if not ret:
            del self['Content-Type']

          return ret
  
      @property
      def status_text(self):
          """
          Returns reason text corresponding to our HTTP response status code.
keep keep keep add keep keep keep keep keep keep
 Remove Content-Type header from empty responses. Fixes #1196
rest_framework/response.py