Introduce HttpEntity [SPR-6969] #11634
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Arjen Poutsma opened SPR-6969 and commented
Currently, it's not possible to explicitly set the Content-Type header (or any other header for that matter) for outgoing requests in the RestTemplate. It would be nice to introduce a wrapping
HttpEntity
type, which allows you to do this, like so:Additionally, it would be useful to be able to retrieve response headers as part of a GET operation. The HttpEntity can help here as well:
Issue Links:
@MVC
("is depended on by")Referenced from: commits 63076d0
The text was updated successfully, but these errors were encountered: