On Fri, 2007-09-07 at 11:29 +0530, nitya vyas wrote:
> Hi all,
> I have in my application one static object of httpClient which i have
> created with SSL implementation like below.
>
> Protocol stricthttps = new Protocol("https", new
> StrictSSLProtocolSocketFactory(true),443);
>
> httpClient = new HttpClient();
> httpClient.getHostConfiguration().setHost("hostName", 443, "https");
>
> Now when i make a request and when create a method object i construct URL
> with "http" this makes the request go as http and not as https eventhough
> httpClient object is constructed by https. ( httpClient.executeMehod(get or
> post method); )
>
> Does this mean that i will have to make all such urls https and not http??
> is there any way so that i can make all requests https globally??
If you want HTTPS why are using HTTP in request URIs?
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]