gudvinr
ed3bf59356
refactor(reader): use time.Duration instead of minutes count
...
In general, duration is used as time unit representation.
At some places when int is returned, there's no documentation which unit is used.
So just convert to time.Duration ASAP.
2025-08-20 19:45:24 -07:00
Frédéric Guillot
c45b51d1f8
feat: use Cache-Control
max-age and Expires
headers to calculate next check
2025-04-06 16:24:00 -07:00
Frédéric Guillot
e1050e21b5
feat: take Retry-After
header into consideration for rate limited feeds
2024-10-05 22:26:05 -07:00
Scott Leggett
cb610230d9
chore: update test case comment
...
The updated comment reflects a better understanding of the RFCs.
2024-10-04 17:47:48 -07:00
Scott Leggett
c787bb5b48
fetcher: add tests for IsModified behaviour
...
In particular, add a failing test for the case where ETag changes but
Last-Modified does not.
2024-07-02 22:05:49 -07:00