hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manasa K (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-1071) 400 Bad request is returned (Target Authentication)
Date Tue, 15 Mar 2011 15:01:30 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006953#comment-13006953
] 

Manasa K commented on HTTPCLIENT-1071:
--------------------------------------

Thanks for your suggestion, was able to tweak the DigestScheme's behaviour and attained the
required result.

Changed the uri variable's value (which had absolute URIs) in the methods createDigest, createDigestHeader
to the relative URI and got the result.

> 400 Bad request is returned (Target Authentication)
> ---------------------------------------------------
>
>                 Key: HTTPCLIENT-1071
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1071
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpAuth, HttpClient
>         Environment: WindowsXP, Java 1.5
>            Reporter: Manasa K
>              Labels: authentication, digest, proxy
>         Attachments: ApacheHTTPClient, Inno_WithProxy, InnovationHTTPClient.txt, logs_withoutProxy.txt,
logstosend_withProxy.txt
>
>
> I am trying to connect a URL http://renderv3.mappoint.net/render-30/RenderService.asmx
which needs WWW-Authenticate(uses Digest Authentication). Also this should go via a Proxy(uses
Basic Authentication). This returns HTTP/1.0 400 Bad Request [Server: Microsoft-IIS/6.0, Date:
Tue, 08 Mar 2011 13:38:43 GMT, X-Cache: MISS from proxy-server8-int1, Connection: close]....
> When the request to this URL is sent directly(i.e., not going via Proxy), works perfectly.
> Also when I tried with another HTTPClient from Innovation.ch, this works. So I doubt
if there will be any trouble caused due to the proxy server.

--
This message is automatically generated by JIRA.
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