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

Method write

module/plugins/crypter/FilecryptCc.py:33–44  ·  view source on GitHub ↗

writes response

(self, buf)

Source from the content-addressed store, hash-verified

31 HTTPRequest.__init__(self, cookies=cookies, options=options)
32
33 def write(self, buf):
34 """ writes response """
35 if self.limit and self.rep.tell() > self.limit or self.abort:
36 rep = self.getResponse()
37 if self.abort:
38 raise Abort()
39 f = open("response.dump", "wb")
40 f.write(rep)
41 f.close()
42 raise Exception("Loaded Url exceeded limit")
43
44 self.rep.write(buf)
45
46
47class FilecryptCc(Crypter):

Callers 5

decryptMethod · 0.45
decryptMethod · 0.45
_prepare_imageMethod · 0.45
handle_DLC_linksMethod · 0.45

Calls 3

AbortClass · 0.85
getResponseMethod · 0.80
closeMethod · 0.45

Tested by

no test coverage detected