ratelimit headers draft: forbid using timestamps

Hi @all

while standardizing ratelimit headers [1],
we are considering to only support the delta-second notation
eg:

RateLimit-Reset: 5    ; quota resets in 5 seconds

And forbid other formats like:

RateLimit-Reset: 1570459715
RateLimit-Reset: Tue, 15 Nov 1994 08:00:00 GMT

This is also because both UNIX Timestamp and IMF-fixdate
require proper working ntp, which is:

- subject to skew and adjustment;
- not necessarily aligned b/w client and server.

Your feedback on the issue below would be precious:

- https://github.com/ioggstream/draft-polli-ratelimit-headers/pull/62

Thanks for all your help,
R.

[1]: https://github.com/ioggstream/draft-polli-ratelimit-headers

Received on Monday, 7 October 2019 15:08:44 UTC