Relative Content

Tag Archive for spring-bootspring-restcontroller

Content-Length header is removed from HEAD response

We have a REST controller with a HEAD method but no GET method. We don’t want the client to be able to retrieve the resource, but we do want them to be able to know whether it exists and how big it is.

Content-Length header is removed from HEAD response

We have a REST controller with a HEAD method but no GET method. We don’t want the client to be able to retrieve the resource, but we do want them to be able to know whether it exists and how big it is.

Content-Length header is removed from HEAD response

We have a REST controller with a HEAD method but no GET method. We don’t want the client to be able to retrieve the resource, but we do want them to be able to know whether it exists and how big it is.