hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Leigh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1344) Userinfo Credentials in URI Should Not Default to Preemptive Authentication
Date Sat, 20 Apr 2013 02:53:15 GMT
James Leigh created HTTPCLIENT-1344:
---------------------------------------

             Summary: Userinfo Credentials in URI Should Not Default to Preemptive Authentication
                 Key: HTTPCLIENT-1344
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1344
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.2.4
            Reporter: James Leigh


When using a request like new HttpGet("http://user:pass@example.com/") HttpClient will send
along Authorization: Basic header with the first request (even if the server uses Digest Access).

The expected behaviour is for HttpClient to send a request with no user credentials at all,
wait for the server to send a 401 response. Then based on the supported auth scheme, send
another request with the credentials in a scheme that is supported by the server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message