I'm writing an application that downloads files, and I need to disable the
automatic following of HTTP redirects.
Does that mean that, to download my files, I have to use GetMethod instead
of HttpConnection.getResponseInputStream() ?

More specifically:

Class HttpMethodBase has a method named setFollowRedirects(boolean), which
can be used to "turn off" the automatic following of HTTP redirects.

However, if I use HttpConnection.getResponseInputStream(), there doesn't
appear to be a corresponding way to turn off automatic HTTP redirection.

Or am I missing something?


- Jeff Lee


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to