Skip to content

Commit 2f2735e

Browse files
committed
Update response_codes.py
1 parent 27178df commit 2f2735e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

webexteamssdk/response_codes.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,14 @@
4646
409: "The request could not be processed because it conflicts with some "
4747
"established rule of the system. For example, a person may not be "
4848
"added to a room more than once.",
49+
410: "The requested resource is no longer available.",
4950
415: "The request was made to a resource without specifying a media type "
5051
"or used a media type that is not supported.",
52+
423: "The requested resource is temporarily unavailable. A `Retry-After` "
53+
"header may be present that specifies how many seconds you need to "
54+
"wait before attempting the request again.",
5155
429: "Too many requests have been sent in a given amount of time and the "
52-
"request has been rate limited. A Retry-After header should be "
56+
"request has been rate limited. A `Retry-After` header should be "
5357
"present that specifies how many seconds you need to wait before a "
5458
"successful request can be made.",
5559
500: "Something went wrong on the server. If the issue persists, feel "
@@ -63,8 +67,8 @@
6367
RATE_LIMIT_RESPONSE_CODE = 429
6468

6569
EXPECTED_RESPONSE_CODE = {
66-
'GET': 200,
67-
'POST': 200,
68-
'PUT': 200,
69-
'DELETE': 204
70+
"GET": 200,
71+
"POST": 200,
72+
"PUT": 200,
73+
"DELETE": 204
7074
}

0 commit comments

Comments
 (0)