This commit is contained in:
2025-01-23 13:02:03 -05:00
parent 2df8250ba2
commit e55485e7e8
11 changed files with 37 additions and 22 deletions

View File

@ -49,6 +49,10 @@ Blacklisted routes
def disallow_get():
return util.get_blocked_response()
@app.head("/")
def base_head():
return
@app.get("/{path}")
def disallow_get_any(request: Request, var: Any = None): # pylint: disable=unused-argument
path = request.path_params['path']