aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorerankor <eran.kornblau@kaltura.com>2022-01-10 21:44:27 +0200
committerRonald S. Bultje <rsbultje@gmail.com>2022-01-18 17:35:26 -0500
commit625ea2d2a901f8717c90bac286982774075557bd (patch)
tree4c8f0e5e88ba6025342d9bc4a7ef6c27d23d720d /tests
parent641c4346b3d7fa1c023792a260ed0165c6d4a2a4 (diff)
downloadffmpeg-625ea2d2a901f8717c90bac286982774075557bd.tar.gz
http: honor response headers in redirect caching
add a dictionary that maps "src_url" -> "expiry;dst_url", the dictionary is checked before issuing an http request, and updated after getting a 3xx redirect response. the cache expiry is determined according to the following (in desc priority) - 1. Expires header 2. Cache-Control containing no-cache/no-store (disables caching) 3. Cache-Control s-maxage/max-age 4. Http codes 301/308 are cached indefinitely, other codes are not cached
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions