Hello Tobias, I believe I have found inconsistency in FileSystemResource class.
I have override newResourceResponse(Attributes attributes) method to pass custom "path" based on the attributes. It works as expected But the size is being calculated based on class private variable "path" (not "path" passed to createResourceResponse(Path path) method I believe additional getSize(Path path) need to be added and used inside createResourceResponse(Path path) method WDYT? I can create PR :) -- WBR Maxim aka solomax
