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 Sam Berlin
MAIL PROTECTED] Sent: Saturday, February 28, 2004 5:43 AM To: Commons HttpClient Project Subject: Re: 302 !! Thanx Oleg for your reply, Yes I've already tried what is written on "Redirects Tutorial page". But the fact is that, the following procedure does not work for me : He

Re: 302 !!

2004-02-28 Thread Oleg Kalnichevski
ur time, but it sounds like a bug to me.... > > Thanx for your help.. > > > > > > > > > > - Original Message - > From: "Kalnichevski, Oleg" <[EMAIL PROTECTED]> > To: "Commons HttpClient Project" <[EMAIL PROTECTED]&

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 unsubscribe

Re: 302 !!

2004-02-28 Thread Emre Sokullu
bug to me Thanx for your help.. - Original Message - From: "Kalnichevski, Oleg" <[EMAIL PROTECTED]> To: "Commons HttpClient Project" <[EMAIL PROTECTED]> Sent: Friday, February 27, 2004 7:45 PM Subject: RE: 302 !! > org.apache.commons.httpcl

RE: 302 !!

2004-02-27 Thread Kalnichevski, Oleg
> org.apache.commons.httpclient.HttpException: Redirect from host www.google.com to > www.google.com.tr is not supported Emre, www.google.com != www.google.com.tr HttpClient 2.0 does not support cross host redirects. Period. We are sorry. The redirect guide you have already been referred to e

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

Re: 302

2004-02-23 Thread Adrian Sutton
On 23/2/04 2:40 PM, "Emre Sokullu" <[EMAIL PROTECTED]> wrote: > 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 abou