Changes between Initial Version and Version 1 of Ticket #2459, comment 2


Ignore:
Timestamp:
02/24/23 09:24:21 (14 months ago)
Author:
Dmitrii Titarenko

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2459, comment 2

    initial v1  
    1 Ok, thanks. In my opinion, it is not super obvious behavior (maybe it could be described in the documentation? couldn't find such details), because it seems X-Accel-Redirect is not only for static files. Also the web framework may not support added-by-default header removal from response (this is stupid of course, but that's how old asp.net behaves, can only change header value on smth different or totally disable default adding behavior). Surely can come up with some kind of crutch. As I see it, ideally, to have some separate headers or magic prefix to forward headers in response, smth like X-Accel-Add-Cache-Control.
     1Ok, thanks. In my opinion, it is not super obvious behavior (maybe it could be described in the documentation? couldn't find such details), because it seems `X-Accel-Redirect` is not only for static files. Also the web framework may not support added-by-default header removal from response (this is stupid of course, but that's how old asp.net behaves, can only change header value on smth different or totally disable default adding behavior). Surely can come up with some kind of crutch. As I see it, ideally, to have some separate headers or magic prefix to forward headers in response, smth like `X-Accel-Add-Cache-Control`.