aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xexamples/pathoc.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/pathoc.py b/examples/pathoc.py
new file mode 100755
index 00000000..4c3fae52
--- /dev/null
+++ b/examples/pathoc.py
@@ -0,0 +1,6 @@
+#!/usr/bin/env python
+from libpathod import pathoc
+
+p = pathoc.Pathoc("google.com", 80)
+p.connect()
+print p.request("get:/")