Correctly handle HTTP Patch. See #227
This commit is contained in:
parent
c061ddbf14
commit
cb931bfb92
@ -163,7 +163,7 @@ public class HttpPostRequestDecoder {
|
|||||||
}
|
}
|
||||||
this.request = request;
|
this.request = request;
|
||||||
HttpMethod method = request.getMethod();
|
HttpMethod method = request.getMethod();
|
||||||
if (method.equals(HttpMethod.POST) || method.equals(HttpMethod.PUT)) {
|
if (method.equals(HttpMethod.POST) || method.equals(HttpMethod.PUT) || method.equals(HttpMethod.PATCH)) {
|
||||||
bodyToDecode = true;
|
bodyToDecode = true;
|
||||||
}
|
}
|
||||||
this.charset = charset;
|
this.charset = charset;
|
||||||
|
Loading…
Reference in New Issue
Block a user