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

Provide single Cookie header for multiple cookies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.23.1
    • 2.22.3, 2.23.2, 2.24.0, 3.0.0
    • camel-ahc
    • None
    • Unknown

    Description

      If a cookieHandler is defined on a camel AHC component and multiple cookies are stored for the server, the AHC component will send out multiple headers named Cookie which each have one value.

      According to RFC 2965 one header should be sent out as a semicolon separated list.

      Most servers (like the jetty server used in the junit tests) also accept the format with multiple cookie headers, but some don't.

      Attachments

        Activity

          People

            siano Stephan Siano
            siano Stephan Siano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: