oapi-sdk-java
oapi-sdk-java copied to clipboard
Url验证的response里面content-type错误
发现一个小小的问题,url验证的逻辑返回的response header里面content-type是错误的:(key value都是”content-type")
影响:body内容正常,我们api网关层解析这个header时报错
CardActionHandler :: handle代码
eventResp.setContentType(Constants.CONTENT_TYPE);
// 应该是:
eventResp.setContentType(Constants.JSON_CONTENT_TYPE);
参考其他处地方调用:
确实。。。