Skip to content

Support for Map body and contentType = application/x-www-form-urlencoded for client requests #36408

@rwinch

Description

@rwinch

RestClient supports a body of type MultiMap<String, ?> and content type of application/x-www-form-urlencoded. However, the default setup does not support Map<String, ?>. It would be nice if RestClient (and WebClient) supported Map<String, ?> as well.

One could argue that it is trivial for users to use MultiMap<String, ?> instead of Map<String, ?>, but Spring should not put the burden on the user when it can easily be implemented by the framework.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions