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

Method getResponse

module/network/HTTPRequest.py:255–261  ·  view source on GitHub ↗

retrieve response from string io

(self)

Source from the content-addressed store, hash-verified

253 return int(self.c.getinfo(pycurl.RESPONSE_CODE)) not in bad_headers
254
255 def getResponse(self):
256 """ retrieve response from string io """
257 if self.rep is None:
258 return ""
259
260 else:
261 return self.rep.getvalue()
262
263 def decodeResponse(self, rep):
264 """ decode with correct encoding, relies on header """

Callers 8

loadMethod · 0.95
verifyHeaderMethod · 0.95
writeMethod · 0.95
uploadMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80
writeMethod · 0.80

Calls 1

getvalueMethod · 0.80

Tested by

no test coverage detected