abdera-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From herbert <i...@gmx.de>
Subject Re: HTTP-GET-Problem with Abdera-Client 0.3.0.
Date Mon, 10 Dec 2007 10:42:13 GMT

Hi James!

I found the cause of my problem.

When calling new AbderaClient().get(...)
a HttpMethod is created by


In the MethodHelper.createMethod(...) 
new GetMethod(uri) is called for a GET-Request.

In the constructor of the GetMethod-class
followRedirects is set to true.

So I need an instance of GetMethod with followRedirects set to false.
Do you see a chance of making this parameter configurable?

Regards, Herbert

To use SSL. You need to register a trust manager.  There is a default
non-op trust manager provided. Before calling your request, call
AbderaClient.registerTrustManager() and things should work.
View this message in context: http://www.nabble.com/HTTP-GET-Problem-with-Abdera-Client-0.3.0.-tp14212795p14250670.html
Sent from the abdera-user mailing list archive at Nabble.com.

View raw message