Clio should be able optionally to pass through rippled's rate limiter.
Motivation
Rippled is rate limiting requests forwarded by Clio. Sometimes it is not desired.
Solution
Rippled has ratelimiting on unauthorised requests. Adding X-User header to request will turn off ratelimiting on rippled's side for the request. We should always add X-User to requests with admin permissions and an option to config to make it possible to set up Clio to add X-User header value for all the forwarded requests.
Summary
Clio should be able optionally to pass through rippled's rate limiter.
Motivation
Rippled is rate limiting requests forwarded by Clio. Sometimes it is not desired.
Solution
Rippled has ratelimiting on unauthorised requests. Adding
X-User
header to request will turn off ratelimiting on rippled's side for the request. We should always addX-User
to requests with admin permissions and an option to config to make it possible to set up Clio to addX-User
header value for all the forwarded requests.