commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilak Mitra" <>
Subject HttpClient : HTTPS and PostMethod problem/bug
Date Wed, 21 Aug 2002 17:04:35 GMT

      The Get is working absolutely fine with me for any site using HTTPS.
      The Post is what just hangs in the executeMethod  for HTTPS urls.
      Is this a bug or am I doing something really wrong ?

      Is there any POST code snippet which someone has (working) ?
      That would be of so much help to me.
      I am trying to push the client to use this nice package, but am stuck
showing a small proof of concept.


Tilak Mitra
   IT Architect
   IBM Global Services EAD Group
   6301 Northwest 5th Way
   Ft Lauderdale , Fl - 33309
   Cell: 954 263 9050
   Home: 954 227 6669

"Ortwin Gl├╝ck" <> on 08/21/2002 01:00:29 PM

To:    "Jakarta Commons Developers List" <>
cc:    Tilak Mitra/Fort Lauderdale/IBM@IBMUS
Subject:    [HttpClient] Re: HTTPS and PostMethod problem/bug

I can not try a POST but a GET works when I try (using JDK 1.4 and JSSE):

         try {
             HttpClient client = new HttpClient();
             client.startSession("", 443, true);
             HttpMethod method = new GetMethod("/");
         } catch(Exception e) {

Please include "[HttpClient]" in front of the subject of further
postings to this mailing list. The list is high traffic and is filtered
by many people. So your posting may go unnoticed if you do not prefix
the subject.


I am back to life from vacation

Tilak Mitra wrote:
> Hello,
>       I am trying to connect to a https site using the PostMethod to post
> some data and get the response back.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message