Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ng (reason unknown).
  • Loading branch information...
commit ea3a378c22c0a61715663b9bf807c786233f70c1 1 parent 7476d96
Alex Gaynor authored
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.

Please sign in to comment.
Something went wrong with that request. Please try again.