1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-01 14:25:46 +00:00

tests: minor typos and code style

This commit is contained in:
Nicolas Duchon
2024-12-24 16:23:09 +01:00
parent eb09876f97
commit fb0fc331c0
3 changed files with 10 additions and 9 deletions

View File

@ -28,7 +28,7 @@ class Handler(http.server.SimpleHTTPRequestHandler):
self.send_header("Content-Type", "text/plain")
self.end_headers()
if (len(response_body)):
if len(response_body):
self.wfile.write(response_body.encode())
if __name__ == '__main__':