File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 46
46
409 : "The request could not be processed because it conflicts with some "
47
47
"established rule of the system. For example, a person may not be "
48
48
"added to a room more than once." ,
49
+ 410 : "The requested resource is no longer available." ,
49
50
415 : "The request was made to a resource without specifying a media type "
50
51
"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." ,
51
55
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 "
53
57
"present that specifies how many seconds you need to wait before a "
54
58
"successful request can be made." ,
55
59
500 : "Something went wrong on the server. If the issue persists, feel "
63
67
RATE_LIMIT_RESPONSE_CODE = 429
64
68
65
69
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
70
74
}
You can’t perform that action at this time.
0 commit comments