Closed
Description
Robert Winkler opened SPR-13776 and commented
The following commit "11b4e3b" did change the way how the
HttpEntityMethodProcessor.handleReturnValue()
method checks if the current ServletRequest().getMethod()
equals HttpMethod.GET
.
The current implementation invokes HttpMethod.valueOf(getRequest().getMethod())
now and does not allow HTTP methods like WebDav's "PROPFIND" anymore.
Currently we can't use the Spring Framework anymore to provide a CalDav, CardDav application using the Miltion.io framework.
A PROPFIND requests fails with java.lang.IllegalArgumentException, Message: No enum constant org.springframework.http.HttpMethod.PROPFIND
now.
Affects: 4.2.3
Reference URL:
Issue Links:
- Allow DispatcherServlet/ServletWrappingController to work with the extended WebDAV methods [SPR-4799] #9476 Allow DispatcherServlet/ServletWrappingController to work with the extended WebDAV methods ("is depended on by")
- ResponseEntity should allow the usage of unassigned HTTP status codes [SPR-14205] #18779 ResponseEntity should allow the usage of unassigned HTTP status codes
- Spring Web should process requests with empty/invalid mime type [SPR-14309] #18881 Spring Web should process requests with empty/invalid mime type
- Consistent comma splitting without regex overhead (e.g. in MediaType/MimeType) [SPR-14635] #19202 Consistent comma splitting without regex overhead (e.g. in MediaType/MimeType)