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

Method addCookies

module/network/HTTPRequest.py:149–152  ·  view source on GitHub ↗

put cookies from curl handle to cj

(self)

Source from the content-addressed store, hash-verified

147
148
149 def addCookies(self):
150 """ put cookies from curl handle to cj """
151 if self.cj:
152 self.cj.addCookies(self.c.getinfo(pycurl.INFO_COOKIELIST))
153
154 def getCookies(self):
155 """ add cookies from cj to curl handle """

Callers 1

loadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected