Hacker News new | past | comments | ask | show | jobs | submit login

Coincidentally I just set up a response that uses 418 I'm a teapot about an hour ago. I really wanted 422 Unprocessable Entity, but werkzeug doesn't implement that (and for some reason instead implements 418 I'm a teapot).




Negative, that's just a dictionary for looking up the exception name. A pull request for 422 did get accepted today though, so yes, now it does.

https://github.com/mitsuhiko/werkzeug/pull/165




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: