Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Tornado 编写一个 REST API
试图使用
raise tornado.web.HTTPError(422)
得到这个错误
Bad HTTP status code: 422
请帮忙解决这个问题
web.py 的来源如下:
if e.status_code not in httplib.responses: logging.error("Bad HTTP status code: %d", e.status_code) self.send_error(500)
我们是否应该怀疑 422 不被视为龙卷风的适当状态?