-
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
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Which version do you use? |
Beta Was this translation helpful? Give feedback.
-
Do you mean SpringCloud Gateway request is not contain Accept header? and the next route is Dubbo rest protocol request must have Accept header? |
Beta Was this translation helpful? Give feedback.
-
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: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
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