      # The WSGI server must call this method upon completion of the request.
      # See http://blog.dscpl.com.au/2012/10/obligations-for-calling-close-on.html
      def close(self):
          for closable in self._closable_objects:
              with suppress(Exception):
                  closable.close()
          self.closed = True
          signals.request_finished.send(sender=self._handler_class)
  
      def write(self, content):
 
</s> remove                 with suppress(Exception):
 </s> add                 try: </s> remove             with suppress(Exception):
 </s> add             try: </s> remove             # SuspiciousFileOperation occurs if the jointed path is located
            # outside of this template_dir (it might be inside another one,
            # so this isn't fatal).
            with suppress(SuspiciousFileOperation):
 </s> add             try:
            try:
      # The WSGI server must call this method upon completion of the request.
      # See http://blog.dscpl.com.au/2012/10/obligations-for-calling-close-on.html
      def close(self):
          for closable in self._closable_objects:
            try:
                  closable.close()
          self.closed = True
          signals.request_finished.send(sender=self._handler_class)
  
      def write(self, 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