[
https://issues.apache.org/jira/browse/HTTPCLIENT-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike closed HTTPCLIENT-1793.
----------------------------
Resolution: Not A Bug
The behavior is correct (by the related RFCs)
> Digest authentication - bad format of URI param
> ------------------------------------------------
>
> Key: HTTPCLIENT-1793
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1793
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: HttpClient (classic)
> Affects Versions: 4.5.2
> Reporter: Mike
>
> There is a trouble when using http client digest authentication. The final
> header created by DigestScheme.java encodes/containst absolute uri, but it
> should use/contains relative uri as described here
> https://tools.ietf.org/html/rfc2617#section-3.2.2
> Example header - as is
> Authorization: Digest username="username",
> realm="TTS-Server-3.0",
> nonce="6abecfe8248be3bb335601bc5064dsa227473",
> uri="http://services.speechtech.cz/tts/v3/synth",
> response="6c99f1cbdasd904329f85a060aa75b3777e427f",
> qop=auth, nc=00000001,
> cnonce="1b35dsa6d523b7805fdsfdc4", algorithm=MD5
> Example header - to be
> Authorization: Digest username="username",
> realm="TTS-Server-3.0",
> nonce="6abdasdecfe824dasd8be3bb335601bc5064a227473",
> uri="/tts/v3/synth",
> response="6c99f1cdsb904329dsadadf85a060aa75b3777e427f",
> qop=auth, nc=00000001,
> cnonce="1b35dsa6d523bdada7805fdsfdc4", algorithm=MD5
> Sample code implementation
> http://www.baeldung.com/resttemplate-digest-authentication
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]