Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ forbidden
Function
forbidden
tests/test_basic.py:872–873 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
870
871
@app.errorhandler(Forbidden)
872
def
forbidden(e):
873
return
"forbidden"
, 403
874
875
@app.route(
"/"
)
876
def
index():
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected