MCPcopy Index your code
hub / github.com/boy-hack/hack-requests / test_localhost

Method test_localhost

tests/test_http.py:29–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 self.assertTrue("hack-requests" in r.text())
28
29 def test_localhost(self):
30 headers = {
31 "Referer": "xx",
32 "referer": "xx"
33 }
34 r = self.hack.http("https://x.hacking8.com", headers=headers)
35 print(r.text())

Callers

nothing calls this directly

Calls 2

textMethod · 0.80
httpMethod · 0.45

Tested by

no test coverage detected