第680章 一张破符,还知道看人下菜(4/8)
dispatch_request
except Exception as e:
rv = self.
handle_user_exception(e)
return self.
finalize_request(rv)
def finalize_request(
File "//server/pyporject_evn/versions/3.
8.
20/lib/python3.
8/site-packages/sk/app.
py",
line 865,
in dispatch_request
and req.
method == "OPTIONS"
):
return self.
make_default_options_response
# otherwise dispatch to the handler for that endpoint
view_args: dict[str, t.
Any] = req.
view_args # type: ignore[assig]
return self.
ensure_sync(self.
view_funs[rule.
endpoint])(**view_args) # type: ignore[no-aurn]
def full_dispatch_request(self) -> Response:
"""Dispatches the request and on top of that performs request
pre and postprocessing as well as HTTP exception catg and
error handling.
File "/root/fanxie/main.
py",
line 67,
in index
def index:
itemId = request.
args.
get('itemId')
if itemId is None:
本章未完,请翻下一页继续阅读.........