From: Bob Hutchison Date: 2008-01-18T21:10:43+09:00 Subject: Re: [ANN] gem 'rufus-verbs' released Hi, On 17-Jan-08, at 8:31 PM, John Mettraux wrote: > == what is it ? > > 'rufus-verbs' is an extended HTTP client library (gem). It provides > the four main HTTP "verbs" as Ruby methods : get, put, post and > delete. > > It wraps a certain number of techniques that make it a decent tool for > manipulating web resources. > > > == features > > currently : > > * follows redirections > * automatically adds _method={post|put} in the request parameters with > the option :fake_put => true > * HTTPS aware ('verify none' by default) > * HTTP basic authentication > * doesn't propagate auth credentials in case of redirection to > different host > * advertises and uses gzip compression > * proxy-aware (HTTP_PROXY env var or :proxy option) > * conditional GET (via ConditionalEndPoint class) > * request body built via a block (post and put) or the :data option > > maybe later : > > * retry on failure > * greediness (automatic parsing for content like JSON or YAML) You'll be able to not do this right? > > * http digest authentication Oh, this would be nice. > > * cache awareness > * head, options > > more at http://rufus.rubyforge.org/rufus-verbs/ I see you are dependent on rufus-lru. That's a really interesting gem that I don't remember seeing anything about before. What else do you have tucked away in there? I see the OpenWFE stuff... Cheers, Bob > > > > Best regards, > > -- > John Mettraux -///- http://jmettraux.openwfe.org > ---- Bob Hutchison -- tumblelog at http://www.recursive.ca/so/ Recursive Design Inc. -- weblog at http://www.recursive.ca/hutch http://www.recursive.ca/ -- works on http://www.raconteur.info/cms-for-static-content/home/