diff --git a/misc/http_rest_client_test.py b/misc/http_rest_client_test.py index 84d82fdc..ad9ad150 100644 --- a/misc/http_rest_client_test.py +++ b/misc/http_rest_client_test.py @@ -11,16 +11,6 @@ class HttpHandler(BaseHTTPRequestHandler): error_content_type = 'text/plain' error_message_format = "Error %(code)d: %(message)s" - def do_GET(self): - path, args = self.parse_url() - - if path == 'name' in args: - name = args['name'][0] - - self.write_response(200, "text/plain", f"Hello, {name}!") - else: - self.send_error(404, 'Not found') - def do_POST(self): body = self.read_body() print(str(self.headers))