mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-31 07:18:58 +00:00
Add a simple libpathod.pathoc example
This commit is contained in:
parent
f5d5cc4988
commit
2bdb5d15b9
6
examples/pathoc.py
Executable file
6
examples/pathoc.py
Executable 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:/")
|
Loading…
Reference in New Issue
Block a user