-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Open
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: waiting-for-internal-feedbackAn issue that needs input from a member or another Spring TeamAn issue that needs input from a member or another Spring Teamtype: enhancementA general enhancementA general enhancement
Milestone
Description
FormHttpMessageConverter currently doesn't support reading multipart responses: it can only write requests.
Unless I'm mistaken, this means that RestClient can't be used out-of-the-box to make http calls to services which return a multipart response.
Considering that:
- Controller endpoints support reading incoming multiparts (via MultipartResolver)
- Reactive's WebClient can read multiparts
- Spring Integration (HTTP module) has a HttpMessageConverter which can read multiparts (but sadly AFAIK it cannot be used in RestClient because it requires a special instance of HttpInputMessage to work)
I think FormHttpMessageConverter should support reading, or there should be an alternative HttpMessageConverter which can be used for these type of responses
pvdbosch and polyglot-k
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: waiting-for-internal-feedbackAn issue that needs input from a member or another Spring TeamAn issue that needs input from a member or another Spring Teamtype: enhancementA general enhancementA general enhancement