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

Preemptive authentication is not preemptive anymore

    XMLWordPrintableJSON

Details

    Description

      After switching from 4.1.3 to 4.2.1 the preemptive authentication doesn't work as expected (and described in the tutorial - http://hc.apache.org/httpcomponents-client-ga/tutorial/html/authentication.html#d5e1032 ).

      When credentials are provided for the auth cache after the very first 401 response the request should be handled as failed. Instead it's executed once again.

      Attachments

        1. preemptive-auth-log.txt
          3 kB
          Rafał Wicha

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pancernik Rafał Wicha
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: