Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-6402

HTTP4 - Set the content length for requests, if known

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.10.4, 2.11.0
    • 2.10.5, 2.11.1, 2.12.0
    • camel-http
    • None
    • Patch Available
    • Unknown

    Description

      In the http4 component the content length for requests is always being set to -1 which forces it to used a chunked transfer encoding. By setting the content length (when it's known) chunked mode isn't required.

      Attachments

        1. CAMEL-6402.patch
          2 kB
          Chris Geer

        Activity

          People

            muellerc Christian Müller
            geerzo Chris Geer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: