Skip to content

Regression: HttpEntityMethodProcessor does not allow other Http methods than defined in the HttpMethod Enum [SPR-13776] #18350

Closed
@spring-projects-issues

Description

@spring-projects-issues

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:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions