Access or respect server-side rate limit settings
unode opened this issue · 2 comments
unode commented
Mattermost has an optional rate-limit option that can be enabled by server admins. This feature works by setting X-RateLimit
headers in HTTP API responses.
Is there any way to access this information or otherwise configure the driver to respect these limits if rate-limiting is enabled?
Vaelor commented
I am not sure at the moment, I will have to do some research on this.
romain-dartigues commented
There is an example in the requests
documentation; don't know how to adapt it in httpx
though.