On Thu, 2011-06-30 at 14:52 +0200, khiem nguyen wrote: > well, before they correct this on the server-side-configuration,i still need > to handle this as "tolerant" as possible, that means get the content of the > site just like telnet/wget or browser does. i want to make httpclient, after > eg. 2 times get redirected with an invalid uri, just user //path-whatever > instead of trying to cut off to /path-whatever.. > > thanx > >
RedirectStrategy is your friend. Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
