diff --git a/http_request_recorder/http_request_recorder.py b/http_request_recorder/http_request_recorder.py index 744f3bc..77b0289 100644 --- a/http_request_recorder/http_request_recorder.py +++ b/http_request_recorder/http_request_recorder.py @@ -112,6 +112,7 @@ def __init__(self, name: str, port: int): app.add_routes([web.post('/{tail:.*}', self.handle_request)]) app.add_routes([web.put('/{tail:.*}', self.handle_request)]) app.add_routes([web.delete('/{tail:.*}', self.handle_request)]) + app.add_routes([web.options('/{tail:.*}', self.handle_request)]) self.runner = web.AppRunner(app)