Use String to specify custom HTTP method in mock request #8592
Labels
in: config
An issue in spring-security-config
status: blocked
An issue that's blocked on an external project change
type: enhancement
A general enhancement
Milestone
In Spring Framework 5.2.7,
MockServerHttpRequest
will accept a custom HTTP method as aString
parameter.Going forward we should use
when testing a request with a custom HTTP method.
The test
matchesRequireCsrfProtectionWhenNonStandardHTTPMethodIsUsed
will need to be updated.Reference: spring-projects/spring-framework#25109
The text was updated successfully, but these errors were encountered: