Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
looly committed Jun 15, 2021
1 parent 1755bba commit f43ac95
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions hutool-http/src/main/java/cn/hutool/http/HttpRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -343,13 +343,6 @@ public HttpConnection getConnection() {
* @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;
}
Expand Down

0 comments on commit f43ac95

Please sign in to comment.