mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
583a48ab75
Prior to this commit, HttpEntityMethodProcessor would process conditional requests even if those aren't GET requests. This is an issue for POST requests with "If-None-Match: *" headers and many other use cases, which should not receive an HTTP 304 Not Modified status in response. This commit only triggers ETag/Last-Modified conditional requests bits for GET requests. Issue: SPR-13496