Add 422 Unprocessable Content to status codes (#7270)

This commit is contained in:
Alexander 2024-10-23 11:41:44 +03:00 committed by GitHub
parent ae882ffb00
commit cf362f2e85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ UNSUPPORTED_MEDIA_TYPE = 415
REQUESTED_RANGE_NOT_SATISFIABLE = 416
EXPECTATION_FAILED = 417
IM_A_TEAPOT = 418
UNPROCESSABLE_CONTENT = 422
NO_RESPONSE = 444
CLIENT_CLOSED_REQUEST = 499
@ -95,6 +96,7 @@ RESPONSES = {
REQUESTED_RANGE_NOT_SATISFIABLE: "Requested Range not satisfiable",
EXPECTATION_FAILED: "Expectation Failed",
IM_A_TEAPOT: "I'm a teapot",
UNPROCESSABLE_CONTENT: "Unprocessable Content",
NO_RESPONSE: "No Response",
CLIENT_CLOSED_REQUEST: "Client Closed Request",
# 500