In case of errors, StoRM WebDAV responds to HEAD requests including the body, which according to the HTTP spec should be omitted.
Github Spring Boot issue