RestClient 0.9

restclient

Sat Jan 24 17:24:41 -0800 2009

New stuff:

  • Access response headers:
RestClient.get('http://example.com/pic.jpg').headers[:content_type]
  • Configurable timeout, contributed by Marc-AndrĂ© Cournoyer:
resource = RestClient::Resource.new 'https://example.com', :timeout => 20
  • require ‘restclient’ is now the preferred notation, though require ‘rest_client’ will continue to be supported indefinitely.

Rdocs.