Yes, it's mathias again :o)
I get this error message :
INFO: Recoverable exception caught when processing request
13 ao¹t 2004 14:25:40 org.apache.commons.httpclient.HttpMethodBase
processRequest
ATTENTION: Recoverable exception caught but
MethodRetryHandler.retryMethod() returned false,
Oups, I'm confused.
I've just seen that somebody have post a similar message with exactly
the same subject ...
Mathias Cianci a écrit :
Yes, it's mathias again :o)
I get this error message :
INFO: Recoverable exception caught when processing request
13 ao¹t 2004 14:25:40
Hello everybody,
Sometimes, when this code line is executed :
byte[] responseBody = method.getResponseBody();
my thread is blocked because the response is not coming.
Is there a way to put something like a timeout in order to stop the
thread after 1minute if the response is not coming ?
Hope an
); // 60 sec timeout
-Original Message-
From: Mathias Cianci [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 2:50 PM
To: Commons HttpClient Project
Subject: timeout while waiting from reponse body ?
Hello everybody,
Sometimes, when this code line is executed :
byte[] responseBody
this method who is giving me problems
Kalnichevski, Oleg a écrit :
You are more than welcome to ask any kind of HttpClient related questions
Oleg
-Original Message-
From: Mathias Cianci [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 3:02 PM
To: Commons HttpClient Project
Hello everybody,
Is it possible with httpclient to change the value of a specific
variable sent in a cookie by a server.
For example, when the server send the cookie var1=5*var2=7*var3=4, I
want to save the cookie var1=5*var2=174*var3=4
Thank you for advance,
Mathias
An happy httpclient-user
good, don't hesitate to tell me if I'm not
really comprehensive.
Michael Becke a écrit :
Hi Mathias,
The best way is to just create a new instance of Cookie, copying the
values you want to keep, and add it to the HttpState.
Mike
On Jul 30, 2004, at 3:09 AM, Mathias Cianci wrote:
Hello everybody
();
hs.addCookie(new Cookie(search.msn.fr, smc_classic,
df=0af=0rc=50nw=0sc=rs=1, /, d, false));
hs.addCookie(new Cookie(search.msn.fr, smc_g,
v=1pvs=classicssp=1df=1, /, d, false));
client.setState(hs);
Mathias Cianci a écrit :
Thank you Mike.
But after a long reflexion, I've
Hello everybody,
When I'm sending requests to Yahoo search engine, I get this type of
warning message :
21 juil. 2004 09:56:32 org.apache.commons.httpclient.HttpMethodBase
processResponseHeaders
ATTENTION: Cookie rejected: $Version=0; B=deli0110fs8drb=2;
$Domain=.yahoo.com; $Path=/. Domain
refer to the
HttpClient cookie guide:
http://jakarta.apache.org/commons/httpclient/cookies.html
Oleg
-Original Message-
From: Mathias Cianci [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 9:58
To: [EMAIL PROTECTED]
Subject: how to accept all cookies ?
Hello everybody,
When I'm
-Original Message-
From: Mathias Cianci [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 10:19
To: Commons HttpClient Project
Subject: Re: how to accept all cookies ?
Thank you for this answer, but I've already seen that :-(
Here's a part of my source code :
System.getProperties
Thank you, now it works !
I only had to make a new constructor for MyGetMethod
public MyGetMethod(String uri) {
super(uri);
setFollowRedirects(true);
}
Have a nice day !
Elijah Baley a écrit :
Here is how I did it:
1. derive your own method from the one you want
12 matches
Mail list logo