W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2019

ratelimit headers draft: forbid using timestamps

From: Roberto Polli <robipolli@gmail.com>
Date: Mon, 7 Oct 2019 17:08:09 +0200
Message-ID: <CAP9qbHXEVZ9Wn4kR=jJq=nwK4WFRhWwZsB1roeGQYZdreYaAzQ@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Cc: Alex Martinez <amr@redhat.com>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:15:43 UTC