MCPcopy Index your code
hub / github.com/pyload/pyload / close

Method close

module/network/HTTPRequest.py:320–331  ·  view source on GitHub ↗

cleanup, unusable after this

(self)

Source from the content-addressed store, hash-verified

318 self.headers = []
319
320 def close(self):
321 """ cleanup, unusable after this """
322 if self.rep:
323 self.rep.close()
324 del self.rep
325
326 if hasattr(self, "cj"):
327 del self.cj
328
329 if hasattr(self, "c"):
330 self.c.close()
331 del self.c
332
333if __name__ == "__main__":
334 url = "http://pyload.net"

Callers 3

getURLMethod · 0.95
loadMethod · 0.45
writeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected