def get_handlers(self):
# note that if the handlers list is empty we get the default_host
# redirect fallback instead of a 404, so test with both an
# explicitly defined error handler and an implicit 404.
return [('/error', ErrorHandler, dict(status_code=417))]
web_test.py 文件源码
python
阅读 18
收藏 0
点赞 0
评论 0
评论列表
文章目录