          # Consume iterators upon assignment to allow repeated iteration.
          if hasattr(value, '__iter__') and not isinstance(value, (bytes, str)):
              content = b''.join(self.make_bytes(chunk) for chunk in value)
              if hasattr(value, 'close'):
                  with suppress(Exception):
                      value.close()
          else:
              content = self.make_bytes(value)
          # Create a list of properly encoded bytestrings to support write().
          self._container = [content]
 
</s> remove             with suppress(Exception):
 </s> add             try: </s> remove     with suppress(KeyError):
 </s> add     try: </s> remove             with suppress(ImportError):
 </s> add             try:
                try:
          # Consume iterators upon assignment to allow repeated iteration.
          if hasattr(value, '__iter__') and not isinstance(value, (bytes, str)):
              content = b''.join(self.make_bytes(chunk) for chunk in value)
              if hasattr(value, 'close'):
                try:
                      value.close()
          else:
              content = self.make_bytes(value)
          # Create a list of properly encoded bytestrings to support write().
          self._container = [content]
keep keep keep keep replace keep keep keep keep keep
 Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."

This reverts commit 550cb3a365dee4edfdd1563224d5304de2a57fda
because try/except performs better. 
django/http/response.py