Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kennywgx opened this issue Aug 28, 2024 · 1 comment
Open

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

kennywgx opened this issue Aug 28, 2024 · 1 comment

Comments

@kennywgx
Copy link

kennywgx commented Aug 28, 2024

发现一个小小的问题,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

@maemual
Copy link
Collaborator

maemual commented Aug 28, 2024

确实。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants