class_docstr: Manage the invocation of a WSGI application
class_docstr_tok: ["Manage","the","invocation","of","a","WSGI","application"]
docstr: Close the iterable (if needed) and reset all instance vars
  
  Subclasses may want to also drop the client connection.
docstr_tok: ["Close","the","iterable","(","if","needed",")","and","reset","all","instance","vars","Subclasses","may","want","to","also","drop","the","client","connection","."]
code: def close(self):
      """Close the iterable (if needed) and reset all instance vars
  
      Subclasses may want to also drop the client connection.
      """
      try:
          if hasattr(self.result, "close"):
              self.result.close()
      finally:
          self.result = self.headers = self.status = self.environ = None
          self.bytes_sent = 0
          self.headers_sent = False
  
imports: from .util import FileWrapper, guess_scheme, is_hop_by_hop
  from .headers import Headers
  import sys, os, time
label_desc: Use image node_id 13 for calling the BaseHandler obj's underlying member method code with example usage: obj.close() without return types