dromara / dromara/forest

response content type中的boundary信息丢失

Open
#122 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
241
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.