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

Add property which can be used to get multiple HTTP header values added as separate headers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.1, 2.3.5
    • 2.4.2, 2.5
    • Transports
    • None
    • Unknown

    Description

      Currently multiple header values are always set as part of a single HTTP header (except for Cookie and Set-Cookie), example,
      Allow: GET,POST
      CustomHeader: A,B

      Sometimes, users expect:

      CustomHeader: A
      CustomHeader: B

      the latter is achieved by calling response.addHeader for every value header value.

      I think that there are so many variations there, as far as HTTP headers are concerned, that the simplest way to start is to
      introduce a property. "Add header per every value" may become a default policy (it used to be the case awhile back)...

      Attachments

        Issue Links

          Activity

            People

              sergey_beryozkin Sergey Beryozkin
              sergey_beryozkin Sergey Beryozkin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: