README.txt in rufus-verbs-0.5 vs README.txt in rufus-verbs-0.6
- old
+ new
@@ -23,10 +23,11 @@
* proxy-aware (HTTP_PROXY env var or :proxy option)
* conditional GET (via ConditionalEndPoint class)
* request body built via a block (post and put)
* cookie-aware (if :cookies option is explicitely set to true)
* http digest authentication (rfc 2617) (auth ok, auth-int not tested)
+* query parameters are automatically escaped (disable with :no_escape => true)
maybe later :
* retry on failure
* cache awareness
@@ -197,10 +198,16 @@
the short version of :form_data
* <b>:form_data</b>
this option expects a hash. The (post or put) request body will then be built with this hash.
+* <b>:h</b> (a hash String => String, RE)
+short for :headers
+
+* <b>:headers</b> (a hash String => String, RE)
+A Hash of additional request headers to pass
+
* <b>:hba</b> (pair of strings, RE)
short for :http_basic_authentication
* <b>:host</b> (string, RE)
the host or IP address for the request
@@ -212,29 +219,35 @@
the id part of a full resource path (see :base)
* <b>:max_redirections</b> (integer, RE)
by default, rufus-verbs will follow any number of redirections. A limit can be set via this option
+* <b>:no_escape</b> (boolean, RE)
+by default, query parameters are escaped. When this option is set to true, no escaping will be performed before the request[s].
+
* <b>:no_redirections</b> (boolean, RE)
when set to 'true', redirections will not be followed, the server response will be returned directly, even if it's a redirection notification.
* <b>:noredir</b> (boolean, RE)
the short version for :no_redirections.
* <b>:nozip</b> (boolean, RE)
if set to true will prevent gzip encoding (advertising) when GETting content
+* <b>:params</b> (hash or string, RE)
+a hash of parameters that will get appended to the URI of the request. A string like "a=b?x=y" can be given as well (equivalent to :query)
+
* <b>:path</b> (string, RE)
the path (between port and the query string)
* <b>:port</b> (string, RE)
the port for the request
* <b>:proxy</b> (uri, string or false, RE)
by default, rufus-verbs will try to use the proxy given in the HTTP_PROXY environment variable (URI). If this :proxy option is set to false, no proxy will be used. It can take the value of a URI (String or URI instance) as well.
* <b>:query</b> (hash or string, R)
-a hash of parameters that will get appended to the URI of the request. A string like "a=b?x=y" can be given as well
+a hash of parameters that will get appended to the URI of the request. A string like "a=b?x=y" can be given as well (equivalent to :params)
* <b>:raw_response</b> (boolean, RE)
the request will be executed and the HTTP response will be returned immediately, no redirection following, content decompression or eventual caching (conditional GET) will take place
* <b>:res</b> (string, RE)