Add a simple libpathod.pathoc example

This commit is contained in:
Aldo Cortesi 2012-10-05 10:46:09 +13:00
parent f5d5cc4988
commit 2bdb5d15b9

6
examples/pathoc.py Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env python
from libpathod import pathoc
p = pathoc.Pathoc("google.com", 80)
p.connect()
print p.request("get:/")