Update server.py

This commit is contained in:
Namhyeon Go 2024-02-20 11:45:14 +09:00 committed by GitHub
parent 6f9bf90359
commit 3d47f5b639
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -319,7 +319,7 @@ def proxy_server(webserver, port, scheme, method, url, conn, addr, data):
proxy_data = {
'headers': {
"User-Agent": "caterpillar-proxy/0.1.4 (Client; Python " + python_version() + "; abuse@catswords.net)",
"User-Agent": "php-httpproxy/0.1.4 (Client; Python " + python_version() + "; abuse@catswords.net)",
},
'data': {
"data": base64.b64encode(data).decode(client_encoding),