Send static file action is invoked before applying the relevant headers [SPR-17348] #21882
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: declined
A suggestion or change that we don't feel we should currently apply
Violeta Georgieva opened SPR-17348 and commented
Hi,
There is the following code for sending static file in
As a result of
,
will be executed before applying the relevant headers.
In case there is a compression predicate that uses the information from the headers in order to instruct Reactor Netty whether to compress or not then the predicate may return wrong instructions because of the missing headers.
Original issue is reported here reactor/reactor-netty#430
Can you please check this?
Thanks in a advance,
Violeta
Affects: 5.0.9
Issue Links:
The text was updated successfully, but these errors were encountered: