Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4760

Provide ability to disable chunked transfer encoding for BinaryDataProvider

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.7, 2.7.1, 2.7.2
    • 2.7.3, 3.0.0-milestone1
    • JAX-RS, Transports
    • None
    • Unknown

    Description

      As of CXF 2.7.0, the JAX-RS BinaryDataProvider now uses chunked transfer encoding by default for byte[] responses. All 2.6.x releases provide the Content-Length header as part of the response.

      I've found documentation on disabling chunked encoding for a JAX-RS client. Is it possible to disable chunked encoding for a JAX-RS server?

      Attachments

        1. curl-cxf26.txt
          0.4 kB
          Owen Farrell
        2. curl-cxf27.txt
          0.4 kB
          Owen Farrell

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            owen.farrell Owen Farrell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: