mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
8 lines
154 B
Python
8 lines
154 B
Python
#!/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"))
|