Repository navigation
Pre-check
Apache Dubbo ComponentJava SDK (apache/dubbo) DetailsI want to combine SpringCloud Gateway and Dubbo REST protocol to do custom routing, and found that NettyHandler must capitalize the request header to get the request header, which conflicts with the request of Gateway, this is a bug or you need to handle the request header separately Code of Conduct
|
Answered by
aofall
Jun 11, 2024
Replies: 3 comments 8 replies
|
Which version do you use? |
1 reply
|
Do you mean SpringCloud Gateway request is not contain Accept header? and the next route is Dubbo rest protocol request must have Accept header? |
7 replies
|
ok,i will fix the bug
…---- Replied Message ----
| From | ***@***.***> |
| Date | 06/07/2024 17:19 |
| To | apache/dubbo ***@***.***> |
| Cc | suncairong163 ***@***.***>,
Comment ***@***.***> |
| Subject | Re: [apache/dubbo] [Q/A][Java SDK (Component)] dubbo3.2.0 request header problem (Discussion #14279) |
SpringCloud Gateway will change the request header to lowercase, while the enumeration of Dubbo source code is uppercase, e.g. accept=/ will get the null value
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This part of the code is included in version 3.2.8, you can try to upgrade the dubbo version. The latest version is 3.2.13