pquerna / cachecontrol

Golang HTTP Cache-Control Parser and Interpretation
Apache License 2.0
138 stars 17 forks source link

feat(chore): add request stale-if-error directive #26

Closed darkweak closed 1 year ago

darkweak commented 1 year ago

Hello, this PR add the stale-if-error cache-control request directive support. It's needed to handle this directive sent by the client on the HTTP cache proxies.