diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/RepositoryEntityController.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/RepositoryEntityController.java
index 551a18374..41295d8f9 100644
--- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/RepositoryEntityController.java
+++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/RepositoryEntityController.java
@@ -101,6 +101,39 @@ class RepositoryEntityController extends AbstractRepositoryRestController implem
this.publisher = publisher;
}
+ /**
+ * HEAD /{repository}
+ *
+ * @param resourceInformation
+ * @return
+ * @throws HttpRequestMethodNotSupportedException
+ */
+ @RequestMapping(value = BASE_MAPPING, method = RequestMethod.HEAD)
+ public ResponseEntity> headCollectionResource(RootResourceInformation resourceInformation)
+ throws HttpRequestMethodNotSupportedException {
+
+ resourceInformation.verifySupportedMethod(HttpMethod.HEAD, ResourceType.COLLECTION);
+
+ RepositoryInvoker invoker = resourceInformation.getInvoker();
+
+ if (null == invoker) {
+ throw new ResourceNotFoundException();
+ }
+
+ return new ResponseEntity