cleanup, unusable after this
(self)
| 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 | |
| 333 | if __name__ == "__main__": |
| 334 | url = "http://pyload.net" |