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

requestHeaders为什么要过滤Content-Type的请求头? #74

Open
surprisingwu opened this issue Aug 31, 2022 · 0 comments
Open

requestHeaders为什么要过滤Content-Type的请求头? #74

surprisingwu opened this issue Aug 31, 2022 · 0 comments

Comments

@surprisingwu
Copy link

我看YTT配置中会把Content-Type的请求头过滤掉, 不知道是出于什么考虑要这么做。 项目中肯定会有json或者formData这种场景,如果YTT做了这层的过滤, 那再统一的请求函数中就拿不到yapi中配置的该信息,那内部的请求应该怎么添加不同的请求头呢?

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

1 participant