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

response content type中的boundary信息丢失 #122

Open
itzhoujun opened this issue Dec 25, 2022 · 0 comments
Open

response content type中的boundary信息丢失 #122

itzhoujun opened this issue Dec 25, 2022 · 0 comments

Comments

@itzhoujun
Copy link

服务端响应multipart type类型时,使用response.getContentType()拿不到boundary信息。debug结果如下:
image
从上图可以看出,okhttp的mediaType中还是有boundary信息的,但是转成new ContentType之后boundary信息就丢了。

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