[
https://issues.apache.org/jira/browse/HTTPCLIENT-2042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17004129#comment-17004129
]
ASF subversion and git services commented on HTTPCLIENT-2042:
-------------------------------------------------------------
Commit b01c2991e91fff4d045932022f3a60165bc1beb4 in httpcomponents-client's
branch refs/heads/HTTPCLIENT-2042 from Michael Osipov
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=b01c299 ]
[HTTPCLIENT-2042] AuthScope uses uppercase for scheme name whereas the rest of
the code uses the lowercase version
The auth scheme name is now consistently processed either in lowercse or
with String#equalsIgnoreCase().
> AuthScope uses uppercase for scheme name whereas the rest of the code uses
> the lowercase version
> ------------------------------------------------------------------------------------------------
>
> Key: HTTPCLIENT-2042
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2042
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpCache
> Affects Versions: 5.0 Beta6
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Priority: Major
> Fix For: 5.0 Beta7
>
>
> While going through the code, it seems awkward that {{AuthScope}} upper cases
> the {{authScheme}} while all other comparisons use
> {{toLowerCase(Locale.ROOT)}}. It would be consisent if this would be
> lowercase too.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]