You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cache interceptor does not process capitalized Cache-Control header in request #3904
@mcollina this is related to that "normalizeHeaders" function I was working on that would always normalize the user passed headers. I think we should probably have a "pre-interceptor" that always does this to make things easier down chain.
Activity
mcollina commentedon Nov 29, 2024
Can you add a reproduction? It's working correctly here.
zdm commentedon Nov 30, 2024
Cache-Controlheader to the lower case - cache will be bypassed.mcollina commentedon Nov 30, 2024
Ah right, thanks!
ronag commentedon Nov 30, 2024
@mcollina this is related to that "normalizeHeaders" function I was working on that would always normalize the user passed headers. I think we should probably have a "pre-interceptor" that always does this to make things easier down chain.
metcoder95 commentedon Dec 1, 2024
Cannot be done on the
DispatcherBase#dispatchdirectly?fix: cache: treat cache-control request header case-insensitively
fix: cache: treat cache-control request header case-insensitively (no…
fix: cache: treat cache-control request header case-insensitively (no…
fix: cache: treat cache-control request header case-insensitively (no…