Re: 302!!

2004-03-01 Thread Emre SOKULLU
Thanks Sam Berlin, I've solved the problem. My (stupid) mistake was that I was calling getResponseHeaders(location) method before executing the HttpClient. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: 302 !!

2004-02-28 Thread Emre Sokullu
-host redirects already. Oleg -Original Message- From: Emre Sokullu [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 18:26 To: Commons HttpClient Project Subject: 302 !! Hi all, I still couldn't solve my problem with http status 302 : When I try to connect Google, it redirects me

Re: 302 !!

2004-02-28 Thread Emre Sokullu
The only code change I've made in HttpMethodBase class was the one I've given to you previously, and setting the field MAX_FORWARDS 10. I've changed it to its default value 100 and tried again. Still no change... - To

302 !!

2004-02-27 Thread Emre Sokullu
Hi all, I still couldn't solve my problem with http status 302 : When I try to connect Google, it redirects me to the local page : http://www.google.com.tr At this status, I want to catch the new address and try to reconnect but such a failure occurs : 27.ub.2004 17:48:13

302 !!

2004-02-27 Thread Emre Sokullu
Also, this does not happen only with Google, it does happen with every redirected page, even with one that i have created by myself, using php (not javascript) for redirecting. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

302

2004-02-23 Thread Emre Sokullu
Hi, I think there is a problem with header location : When a URL returns 302 as http status code, the location header of this URL is still a null value. Even if it is a well-known redirected site : Can you inform me about this issue? Am I wrong? I use the code proposed on the official site.

302

2004-02-23 Thread Emre Sokullu
Hi, I think there is a problem with header location : When a URL returns 302 as http status code, the location header of this URL is still a null value. Even if it is a well-known redirected site : Can you inform me about this issue? Am I wrong? I use the code proposed on the official site.

Re: 302

2004-02-23 Thread Emre Sokullu
Well yes: http://www.google.com it's redirecting Turkish IPs to http://www.google.com.tr And not just google, every URL, even one that I have created the header information by myself using php - To unsubscribe, e-mail: [EMAIL

Hi all,302

2004-02-21 Thread Emre Sokullu
Hi all, When a client request return https status code 302; HttpClient, instead of following the document, shows an informative page. How can I deal with this, and show directly the page. Ideas, suggestions?? - To

addParameter() for GetMethod

2004-02-19 Thread Emre Sokullu
Is there a method like PostMethod.addParameter(), for GetMethod class. Or do we have to do it manually ( http://url?param1=value1 etc.)

No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Emre Sokullu
Hi all, I have 3 questions : 1) How can I reject all cookies ? (code please) 2) How can I limit number of redirections for setFollowRedirects() method ? (code please) 3) How can I skip entering proxy realm ? I mean : Forexample for simple authentication, to skip the realm, we use

Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Emre Sokullu
Thanx very much Oleg for your answers, I have a few things to say : 1) How can I reject all cookies ? (code please) This feature is only available in the development version of HttpClient (3.0, which is currently in pre-alpha development stage). There's no straight-forward way to

Re: No cookie.. Proxy realm.. limit setFollowRedirects

2004-02-13 Thread Emre Sokullu
Hi Oleg, I have visited the link that you have given to me for the setFollowRedirects() problem: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21216 At this link, I've read that httpclient follows redirections for 100 times by default. So I've thought that if I knew the instance that