Roundup Tracker - Issues

Issue 2551263

classification
Expose headers via rest and Access-Control-Expose-Headers header
Type: rfe Severity: normal
Components: Web interface, API Versions:
process
Status: fixed fixed
:
: rouilj : rouilj
Priority: normal : rest

Created on 2023-02-23 02:43 by rouilj, last changed 2023-02-23 20:36 by rouilj.

Messages
msg7726 Author: [hidden] (rouilj) Date: 2023-02-23 02:43
Currently none of the rate limiting headers are available to a rest client.

Have roundup return an 'Access-Control-Expose-Headers' header with at least the following 
value:

X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-RateLimit-Limit-Period, Retry-
After, Allow, Sunset

This includes all the rate limit headers to throttle requests.
The allow header so it can determine how to query the endpoint.
The sunset header so it can see if it's using a deprecated API endpoint.

Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers
msg7730 Author: [hidden] (rouilj) Date: 2023-02-23 20:36
Fixed on rev:6f09103a6522
History
Date User Action Args
2023-02-23 20:36:04rouiljsetstatus: new -> fixed
messages: + msg7730
priority: normal
assignee: rouilj
keywords: + rest
resolution: fixed
2023-02-23 02:43:11rouiljcreate