mitmproxy/examples/pathod/libpathod_pathoc.py
Maximilian Hils bc60c26c7b py3++
2016-04-13 22:34:28 -07:00

8 lines
154 B
Python

#!/usr/bin/env python
from pathod import pathoc
p = pathoc.Pathoc(("google.com", 80))
p.connect()
print(p.request("get:/"))
print(p.request("get:/foo"))