You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "xhhong211 (via GitHub)" <gi...@apache.org> on 2023/09/07 08:18:10 UTC
[GitHub] [dubbo] xhhong211 commented on issue #12907: Dubbo 3.2 的 Rest 协议下,相同路径名的 GET/POST/PATCH 方法报错 405:service require request method is : PATCH, but current request method is: POST
xhhong211 commented on issue #12907:
URL: https://github.com/apache/dubbo/issues/12907#issuecomment-1709687418
因为RestRPCInvocationUtil的createPathMatcher方法调用的是PathMatche.getInvokeCreatePathMatcher,里面返回的是noNeedHttpMethodCompare();
```java
public static PathMatcher getInvokeCreatePathMatcher(String path, String version, String group, Integer port, String method) {
return new PathMatcher(path, version, group, port, method).noNeedHttpMethodCompare();
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org