oapi-sdk-java icon indicating copy to clipboard operation
oapi-sdk-java copied to clipboard

Url验证的response里面content-type错误

Open kennywgx opened this issue 1 year ago • 1 comments

发现一个小小的问题,url验证的逻辑返回的response header里面content-type是错误的:(key value都是”content-type") image 影响:body内容正常,我们api网关层解析这个header时报错

CardActionHandler :: handle代码

eventResp.setContentType(Constants.CONTENT_TYPE);
// 应该是:
eventResp.setContentType(Constants.JSON_CONTENT_TYPE);

参考其他处地方调用: image

kennywgx avatar Aug 28 '24 03:08 kennywgx

确实。。。

maemual avatar Aug 28 '24 03:08 maemual