**[Brian Clozel](https://jira.spring.io/secure/ViewProfile.jspa?name=bclozel)** opened **[SPR-13378](https://jira.spring.io/browse/SPR-13378?redirect=false)** and commented Using `ResponseEntity`'s builder API like the following throws an `IllegalArgumentException` because the ETag is not quoted `"foo"` nor a weak ETag `W/"foo"`: ```java ResponseEntity<Void> responseEntity = ResponseEntity.ok().eTag("foo").build(); ``` --- **Affects:** 4.2 GA **Referenced from:** commits https://github.com/spring-projects/spring-framework/commit/88405be8a5953e6541a3821fdeace125492f3764