mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
remove comment
This commit is contained in:
parent
1755bbadcc
commit
f43ac9547b
@ -343,13 +343,6 @@ public class HttpRequest extends HttpBase<HttpRequest> {
|
||||
* @return HttpRequest
|
||||
*/
|
||||
public HttpRequest method(Method method) {
|
||||
// if (Method.PATCH == method) {
|
||||
// this.method = Method.POST;
|
||||
// this.header("X-HTTP-Method-Override", "PATCH");
|
||||
// } else {
|
||||
// this.method = method;
|
||||
// }
|
||||
|
||||
this.method = method;
|
||||
return this;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user