mirror of
https://github.com/gnh1201/caterpillar.git
synced 2024-11-26 15:31:45 +00:00
Update server.py
This commit is contained in:
parent
44e7bd444d
commit
5a21c09cfa
|
@ -89,7 +89,7 @@ def conn_string(conn, data, addr):
|
|||
def proxy_server(webserver, port, scheme, url, conn, addr, data):
|
||||
try:
|
||||
headers = {
|
||||
"User-Agent": "php-httpproxy/0.1-dev (Client; Python " + python_version() + ")",
|
||||
"User-Agent": "php-httpproxy/0.1 (Client; Python " + python_version() + ")",
|
||||
}
|
||||
data = {
|
||||
"data": base64.b64encode(data).decode("utf-8"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user