Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-1898

Same header set multiple times in HST responses creates multiple values in the servlet response

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.22.07
    • 2.22.08, 2.24.00
    • None
    • None

    Description

      I have components which set (and not add) no-cache HST response headers. That works fine when the header is set only once. However, if several components set the same header, I end up with multiple values in the servlet response:

      Cache-control: no-cache, no-cache, no-cache, no-cache

      I would expect that instead of appending all the values, the last one which was set would be used for the servlet response.

      Also see mailing-list: http://hippo.2275632.n2.nabble.com/Multiple-values-in-servlet-response-for-same-header-set-multiple-times-in-HST-responses-td7050913.html

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            mtricot Mickaƫl Tricot (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: