Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15914

WebClient - add option to disable chunked transfer

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 5.0 RC3
    • Fix Version/s: 5.0 RC4
    • Component/s: Reactive, Web:Client
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Currently all requests except GET and HEAD are using transfer-encoding: chunked. There is no way to disable it, thus is not possible to call a network device that cannot support chunked transfer.

        Activity

        Hide
        arjen.poutsma Arjen Poutsma added a comment -

        The chunked transfer-encoding headers is coming from Reactor Netty, the underlying HTTP library. There is an open issue to add a global option for disabling it. Once there, the configuration option can easily be used via this ReactorClientHttpConnector constructor.

        Show
        arjen.poutsma Arjen Poutsma added a comment - The chunked transfer-encoding headers is coming from Reactor Netty, the underlying HTTP library. There is an open issue to add a global option for disabling it. Once there, the configuration option can easily be used via this ReactorClientHttpConnector constructor .

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            mhawrylczak Marek Hawrylczak
            Last updater:
            St├ęphane Nicoll
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 weeks, 3 days ago