HTTP caching proxy: add test
HTTP caching proxy: add test: a task in smol-software-harbor (Harbor dataset). Add tests to tests/test fresh.py covering is fresh : no-store , no-cache (also with a value such as no-cache="Set-Cookie" ) and private are never fresh, s-maxage takes precedence over max-age , and a response exactly as…
The task
Add tests to `tests/test_fresh.py` covering `is_fresh`: `no-store`, `no-cache` (also with a value such as `no-cache="Set-Cookie"`) and `private` are never fresh, `s-maxage` takes precedence over `max-age`, and a response exactly as old as its limit is no longer fresh. Keep the existing test and do not change the…
Part of efederici/smol-software-harbor.