Skip to content

Commit

Permalink
Add 418 I'm A Teapot status code (#1076)
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelzander committed Oct 22, 2020
1 parent a9f8821 commit 5193cdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions starlette/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
And RFC 6585 - https://tools.ietf.org/html/rfc6585
And RFC 4918 - https://tools.ietf.org/html/rfc4918
And RFC 8470 - https://tools.ietf.org/html/rfc8470
And RFC 2324 - https://tools.ietf.org/html/rfc2324
"""
HTTP_100_CONTINUE = 100
HTTP_101_SWITCHING_PROTOCOLS = 101
Expand Down Expand Up @@ -41,6 +42,7 @@
HTTP_415_UNSUPPORTED_MEDIA_TYPE = 415
HTTP_416_REQUESTED_RANGE_NOT_SATISFIABLE = 416
HTTP_417_EXPECTATION_FAILED = 417
HTTP_418_IM_A_TEAPOT = 418
HTTP_422_UNPROCESSABLE_ENTITY = 422
HTTP_423_LOCKED = 423
HTTP_424_FAILED_DEPENDENCY = 424
Expand Down

0 comments on commit 5193cdb

Please sign in to comment.