MCPcopy Index your code
hub / github.com/clips/pattern / copy

Method copy

pattern/web/__init__.py:518–519  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
521def 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).

Callers 1

test_urlMethod · 0.95

Calls 1

URLClass · 0.85

Tested by 1

test_urlMethod · 0.76