Minero Aoki <aamine / dp.u-netsurf.ne.jp> writes:

> Hi,
> 
>   In mail "[ruby-talk:03161] Re: Retrieving the hostname and port in net/http"
>     Dave Thomas <Dave / thomases.com> wrote:
> 
> > One of the problems is that HTTP#get throws an exception on a 301, so
> > there's no resp structure to interrogate.
> 
> Yes, that's right. I agree that "get" method is OUT OF USE for
> many applications. I want to make "get" not to raise exceptions,
> but I could not because of backward compatibility.
> If it is not too rate, I'll change it.

Either that, or possibly include the header information in the
exception.


Dave