From: Aredridel Date: 2003-07-18T08:24:04+09:00 Subject: Re: OO Design question for Net::HTTP caching extension > actually I found it quite irritating that proxy isn卒t intergated > more transparently into Net::HTTP (not to mention complete lack of > support for ftp proxy) > Every Perl or Python tool will use http_proxy and no_proxy environment > variables by default and I see no reason Ruby tools should do > differently. Well, for one, there are environments where environment variables are not settable -- for example, within mod_ruby -- you may want several sets of settings, but they all run with a shared process pool. The lack of transparency is annoying to me too -- I'd expect a "use_proxy" method to Net::HTTP itself, more than a different constructor. That said, code-wise, Net::HTTP is a very clean animal. Ari