(self)
| 516 | return "URL('%s', method='%s')" % (str(self), str(self.method)) |
| 517 | |
| 518 | def copy(self): |
| 519 | return URL(self.string, self.method, self.query) |
| 520 | |
| 521 | def download(url=u"", method=GET, query={}, timeout=10, cached=True, throttle=0, proxy=None, user_agent=USER_AGENT, referrer=REFERRER, authentication=None, unicode=False): |
| 522 | """ Downloads the content at the given URL (by default it will be cached locally). |