Skip to content

trillium-caching-headers-v0.4.0

Choose a tag to compare

@github-actions github-actions released this 21 May 23:07
· 86 commits to main since this release

Fixed

  • CacheControlDirective::MaxFresh was a typo for the spec directive
    min-fresh (RFC 9111 §5.2.1.3); rename + accessor + parser key.
  • Parser previously aborted on unknown directives with non-numeric
    values (e.g. garbage=non-numeric, max-age=600); now falls through
    to UnknownDirective per RFC 9111 §5.2.
  • CacheControlHeader::parse(&str) -> Self replaces the FromStr impl;
    parser is now infallible. CacheControlParseError removed.