mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 04:09:04 +00:00
Prior to this commit, the `ResourceHttpRequestHandler` would write the resource size to the "Content-Length" response header. This is already done by the underlying `ResourceHttpMessageConverter` and `ResourceRegionHttpMessageConverter`. This commit avoid this duplicate operation and delegates instead to the converters. See gh-26330 Closes gh-26340