aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pathod/libpathod_pathoc.py
blob: 4c27457111a820a8d36b26f09faa35cdbb9b593c (plain)
1
2
3
4
5
6
7
#!/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"))