Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1704

CookieSpecs.IGNORE_COOKIE policy CookieSpec#match returns true

    XMLWordPrintableJSON

Details

    Description

      Following:
      http://mail-archives.apache.org/mod_mbox/hc-httpclient-users/201512.mbox/%3CCAH9fUpYn6BDFUMA6qq-q4ioFsSQvd%2BFrLJCiSJXaAxnw1ZsBtg%40mail.gmail.com%3E

      When migrating from HTTPCLIENT3 to HC4.5 (issue is also in HC4.2.3), we have a change in behaviour of org.apache.http.client.config.CookieSpec#match compared to org.apache.commons.httpclient.cookie.CookieSpec#match.

      In HC3, match returned false for IGNORE_POLICY while it now returns true.

      Attachments

        1. httpclient.patch
          3 kB
          Philippe Mouawad

        Activity

          People

            Unassigned Unassigned
            pmouawad Philippe Mouawad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: