mirror of
https://gitee.com/dromara/hutool.git
synced 2025-10-15 02:35:11 +08:00
remove comment
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user