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,
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
work the problem around
http://jakarta.apache.org/commons/httpclient/redirects.html
Development (unstable) version of HttpClient can automatically handle
cross-host redirects already.
Oleg
-Original Message-
From: Emre Sokullu [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 18:26
T
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 add
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 org.apache.commons
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, 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.
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.
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 unsubscrib
Is there a method like PostMethod.addParameter(), for GetMethod class.
Or do we have to do it manually ( http://url?param1=value1 etc.)
Thanx again Oleg...
I didn't understand why redirection won't be allowed when old host and new
host are the same.
Forexample for one of my domains I made such a DNS arrangement :
www.mydomain.com --> A --> M.Y.I.P
mydomain.com --> REDIRECT --> www.mydomain.com
So when trying to connec
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 d
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 autom
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
"setAuth
14 matches
Mail list logo