MCPcopy Create free account
hub / github.com/0x676e67/wreq-python / get

Method get

benchmark/bench.py:34–40  ·  view source on GitHub ↗
(self, url)

Source from the content-addressed store, hash-verified

32 self.close()
33
34 def get(self, url):
35 buffer = BytesIO()
36 self.c.setopt(pycurl.URL, url)
37 self.c.setopt(pycurl.WRITEDATA, buffer)
38 self.c.perform()
39 self.content = buffer.getvalue()
40 return self
41
42 @property
43 def text(self):

Callers 3

session_get_testFunction · 0.45
non_session_get_testFunction · 0.45
agetFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected