Support force cache even when server doesn't set the Date header
This fixes a bug where when a upstream server doesn't set a Date header the response will be cached but then once the cache is expired it never gets refreshed because parseResponseHeaders returns a no date header error This also makes it so that the force_cache_duration_seconds is respected when an upstream returns a 304 not modified Signed-off-by: Peter <c2zwdjnlcg@users.noreply.github.com>
P
Peter committed
8dcdd7d19521f12d8f74deac14e14caea37812c4
Parent: 105946a
Committed by Ashutosh Narkar <anarkar4387@gmail.com>
on 8/25/2023, 3:09:21 PM