J
John Mettraux
== 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 roxy 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)
* http digest authentication
* cache awareness
* head, options
more at http://rufus.rubyforge.org/rufus-verbs/
Best regards,
'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 roxy 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)
* http digest authentication
* cache awareness
* head, options
more at http://rufus.rubyforge.org/rufus-verbs/
Best regards,