mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +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
|
* @return HttpRequest
|
||||||
*/
|
*/
|
||||||
public HttpRequest method(Method method) {
|
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;
|
this.method = method;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user