Update server.py

This commit is contained in:
Namhyeon Go 2022-10-07 14:18:00 +09:00 committed by GitHub
parent 44e7bd444d
commit 5a21c09cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"),