The java implementation of Apache Dubbo. An RPC and microservice framework.
40.22k
stars
26.35k
forks
source link
[Bug] When triple-rest-cors is enabled, Spring RestClient cannot get a normal response after making a request. #14268
Open
Rawven opened 1 month ago
Pre-check
Search before asking
Apache Dubbo Component
Java SDK (apache/dubbo)
Dubbo Version
3.3.0-beta.3
Steps to reproduce this issue
run the test https://github.com/Rawven/dubbo-samples/blob/triple-cors-rest/2-advanced/dubbo-samples-triple-rest/dubbo-samples-triple-rest-springmvc/src/test/java/org/apache/dubbo/rest/demo/test/CorsConsumerIT.java
Apifox and apache http client can call the interface with cors function enabled normally, but spring rest client cannot call it normally.
What you expected to happen
spring rest client should be ok
Anything else
No response
Are you willing to submit a pull request to fix on your own?
Code of Conduct