Adding an improvement that was originally intended for 3.0.0.
Added
- Support additional
Cache-Controldirectives inresponse.cache_control::immutable,:must_understand,stale_while_revalidate:(requires a duration) andstale_if_error:(requires a duration). (@timriley in #522)
Changed
response.cache_controlraisesArgumentErrorfor unknown directives instead of silently dropping them. (@timriley in #522)