mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
http: add py313 HTTPStatus aliases (#11935)
This commit is contained in:
@@ -48,11 +48,19 @@ class HTTPStatus(IntEnum):
|
||||
GONE = 410
|
||||
LENGTH_REQUIRED = 411
|
||||
PRECONDITION_FAILED = 412
|
||||
if sys.version_info >= (3, 13):
|
||||
CONTENT_TOO_LARGE = 413
|
||||
REQUEST_ENTITY_TOO_LARGE = 413
|
||||
if sys.version_info >= (3, 13):
|
||||
URI_TOO_LONG = 414
|
||||
REQUEST_URI_TOO_LONG = 414
|
||||
UNSUPPORTED_MEDIA_TYPE = 415
|
||||
if sys.version_info >= (3, 13):
|
||||
RANGE_NOT_SATISFIABLE = 416
|
||||
REQUESTED_RANGE_NOT_SATISFIABLE = 416
|
||||
EXPECTATION_FAILED = 417
|
||||
if sys.version_info >= (3, 13):
|
||||
UNPROCESSABLE_CONTENT = 422
|
||||
UNPROCESSABLE_ENTITY = 422
|
||||
LOCKED = 423
|
||||
FAILED_DEPENDENCY = 424
|
||||
|
||||
Reference in New Issue
Block a user