HTTPCLIENT-1949: DigestScheme to use HttpRequest#getRequestUri instead of HttpRequest#getPath

This commit is contained in:
Oleg Kalnichevski 2018-10-30 13:06:30 +01:00
parent 65802bc8d3
commit 3c25ca7266
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ public class DigestScheme implements AuthScheme, Serializable {
private String createDigestResponse(final HttpRequest request) throws AuthenticationException { private String createDigestResponse(final HttpRequest request) throws AuthenticationException {
final String uri = request.getPath(); final String uri = request.getRequestUri();
final String method = request.getMethod(); final String method = request.getMethod();
final String realm = this.paramMap.get("realm"); final String realm = this.paramMap.get("realm");
final String nonce = this.paramMap.get("nonce"); final String nonce = this.paramMap.get("nonce");