README.rdoc in rest-client-1.6.5 vs README.rdoc in rest-client-1.6.6

- old
+ new

@@ -215,9 +215,18 @@ Often the proxy url is set in an environment variable, so you can do this to use whatever proxy the system is configured to use: RestClient.proxy = ENV['http_proxy'] +== Query parameters + +Request objects know about query parameters and will automatically add them to +the url for GET, HEAD and DELETE requests and escape the keys and values as +needed: + + RestClient.get 'http://example.com/resource', :params => {:foo => 'bar', :baz => 'qux'} + # will GET http://example.com/resource?foo=bar&baz=qux + == Cookies Request and Response objects know about HTTP cookies, and will automatically extract and set headers for them as needed: