Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 5.0.1
    • Fix Version/s: 5.0.2
    • Component/s: Web, Web:Client
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      It would be useful to support more explicitly the case of creating an HttpEntity in order to provide a part with headers in multipart request, e.g. a PartHttpEntity sub-class. Such a class could provide a builder similar to those in RequestEntity but by comparison the use case here can make the assumptions and for example a body can always be expected along with a content type.

      This was first raised in SPR-16118 (WebTestClient) but would also help for WebClient and RestTemplate scenarios.

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              rstoya05-aop Rossen Stoyanchev
              Last updater:
              Spring Issuemaster
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                26 weeks, 4 days ago