Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
flask 返回 HTTP 423 的正确姿势是什么
mgna17
·
May 27, 2016
· 3065 views
This topic created in 3627 days ago, the information mentioned may be changed or developed.
abort(423) 的时候出现了 “ LookupError: no exception for 423 ”
这是说不支持返回 423 么?
flask
abort
Exception
返回
2 replies
•
2016-05-27 11:37:06 +08:00
1
cloverstd
May 27, 2016
1
https://github.com/pallets/werkzeug/blob/master/werkzeug/exceptions.py
不支持,但是可以用 werkzeug.exceptions.Aborter 自己造
2
mgna17
OP
May 27, 2016
@
cloverstd
了解了,谢谢
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
798 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms ·
UTC 22:16
·
PVG 06:16
·
LAX 15:16
·
JFK 18:16
♥ Do have faith in what you're doing.
❯