fix: http协议客户端对请求头的处理和服务端解析不一致 by sppan24 · Pull Request #132 · trpc-group/trpc-java
| } | ||
| }); | ||
| if (!transInfoMap.isEmpty()) { | ||
| simpleHttpRequest.setHeader(HTTP_HEADER_TRPC_TRANS_INFO, JsonUtils.toJson(transInfoMap)); |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里改了之后跟目前不兼容了,担心出问题
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我个人觉得可以在新版本修复,不然不要说其他语言了,就tRPC-Java自己的客户端和服务端传递都有问题。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters