#107499ActionController redirectToUri cache control headers are overritten
Description
Hi,
My action controller action method returns :
return $this->redirectToUri("https://xxxx",0,301)
->withHeader('Cache-control', 'max-age=86400')
->withHeader('X-Test', 'test');
The browser does receive the 301 but only the X-Test header is present, cache control headers get replaced.
location: https://xxxx Cache-control: no-cache, no-store X-Test: test
My goal here is to have the reverse proxy in front of my Typo3 cache the response.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.