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

Method getURL

module/network/RequestFactory.py:68–76  ·  view source on GitHub ↗

see HTTPRequest for argument list

(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

66 return HTTPRequest(CookieJar(None), options)
67
68 def getURL(self, *args, **kwargs):
69 """ see HTTPRequest for argument list """
70 h = HTTPRequest(None, self.getOptions())
71 try:
72 rep = h.load(*args, **kwargs)
73 finally:
74 h.close()
75
76 return rep
77
78 def getCookieJar(self, pluginName, account=None):
79 if (pluginName, account) in self.cookiejars:

Callers 1

getURLFunction · 0.80

Calls 4

getOptionsMethod · 0.95
loadMethod · 0.95
closeMethod · 0.95
HTTPRequestClass · 0.90

Tested by

no test coverage detected