Skip to content

Commit

Permalink
feat: add support for HTTP OPTIONS messages
Browse files Browse the repository at this point in the history
  • Loading branch information
flying7eleven committed Nov 21, 2023
1 parent 4fe6bff commit 03da7e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http_request_recorder/http_request_recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 03da7e6

Please sign in to comment.