Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ catcher
Function
catcher
tests/test_request.py:18–19 ·
view source on GitHub ↗
(error)
Source
from the content-addressed store, hash-verified
16
17
@app.errorhandler(413)
18
def
catcher(error):
19
return
"42"
20
21
rv = client.post(
"/"
, data={
"myfile"
:
"foo"
* 50})
22
assert rv.data == b
"42"
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected