mitmproxy/pathod/examples/libpathod_pathoc.py
Maximilian Hils 175ce43a30 add pathod
2016-02-15 14:58:49 +01:00

8 lines
155 B
Python

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