romeda@gmail.com
2/9/2007 5:50:00 PM
On Feb 8, 7:25 am, "Tim Becker" <a2800...@gmail.com> wrote:
> I just got through putting together a little wrapper around Net:Http
> because I keep forgetting how to handle stuff like proxies, ssl, basic
> auth and redirects with it. Thought it might be useful to others as
> well. Enjoy,
Wonderful library! Fills nicely the gap between open-uri and
Net::HTTP. To follow on with others' calls for enhancement, do you
think you'll add file upload support? It's something that's relatively
difficult to do with the existing Ruby HTTP libraries, and would be a
very welcome addition.
Also, I noticed that you're using a separate webrick server to perform
the tests - you might consider using FakeWeb (http://
fakeweb.rubyforge.org/) to build some of the tests. It might be that
SimpleHTTP is sufficiently low-level that mocking the responses isn't
ideal, but it might help speed up the tests and test development.
b.