Skip to content

Commit

Permalink
Remove get since this is not supported by willow anyhow
Browse files Browse the repository at this point in the history
  • Loading branch information
meeech committed Jun 22, 2023
1 parent fcf8902 commit 6aea9ad
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions misc/http_rest_client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 '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))
Expand Down

0 comments on commit 6aea9ad

Please sign in to comment.