Menu

SSL problems with readResponseHeader()

Anonymous
2003-03-12
2004-01-15
  • Anonymous

    Anonymous - 2003-03-12

    I'm trying to pass in a secure URL (<https://localhost:7002/mysite>) for an SSL enabled site and continue to get UnknownHostException's. I pointed my test to a newer httpunit.jar and still the same problem which appears to lie within the HttpWebResponse.readResponseHeader method at the following lines:
            if (!needStatusWorkaround()) {
                _responseCode = connection.getResponseCode();
                _responseMessage = connection.getResponseMessage();
            } else {
                 if (connection.getHeaderField(0) == null) throw new UnknownHostException( connection.getURL().toExternalForm() );

    Is there a known workaround to this problem?

    jason

     
    • Hien Luu

      Hien Luu - 2004-01-15

      Jason,

      I was wondering if you found a solution to the problem you posted.  I ran into the same problem.

      Thanks,

      Hien

       

Log in to post a comment.

Auth0 Logo