Re: https support
"Theyagarajan S" <[email protected]> Thu, 8 May 2008 15:13:24 +0530
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
> ClientProperties.getDefaultProperties().setAcceptGzip(false) and then
> use SSL?
yeah i still get the same error,
this is really all the code i have started to test with
WebConversation wc = new WebConversation();
ClientProperties.getDefaultProperties().setAcceptGzip(false);
WebRequest request = new GetMethodWebRequest("https://test.com/test.jsp");
WebResponse response = wc.getResponse(request);
System.out.println("Response:[" + response.getTitle()+"]");
It actually redirectly to a long URL ,something to do with it ?
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone