Browse files

Added an HTTP status code to Django's WSGI application that was missi…

…ng (reason unknown).
  • Loading branch information...
1 parent 7476d96 commit ea3a378c22c0a61715663b9bf807c786233f70c1 Alex Gaynor committed May 8, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/core/handlers/wsgi.py
View
1 django/core/handlers/wsgi.py
@@ -57,6 +57,7 @@
415: 'UNSUPPORTED MEDIA TYPE',
416: 'REQUESTED RANGE NOT SATISFIABLE',
417: 'EXPECTATION FAILED',
+ 418: "I'M A TEAPOT",
422: 'UNPROCESSABLE ENTITY',
423: 'LOCKED',
424: 'FAILED DEPENDENCY',

3 comments on commit ea3a378

@denisinla

Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.

@fanzeyi

🍵

Please sign in to comment.