Lines Matching defs:close
130 # Note to self: don't move the close()! Asynchronous servers shouldn't
131 # call close() from finish_response(), so if you close() anywhere but
140 # We expect the client to close the connection abruptly from time
148 self.close()
174 """Send any iterable data, then close self and the iterable
179 'self.close()' once the response is finished.
187 # Call close() on the iterable returned by the WSGI application
189 if hasattr(self.result, 'close'):
190 self.result.close()
193 # We only call close() when no exception is raised, because it
196 self.close()
327 def close(self):
333 if hasattr(self.result,'close'):
334 self.result.close()