From d8c27f25a013a34a9f19394735e93712792206a1 Mon Sep 17 00:00:00 2001 From: Ryan McCue Date: Mon, 26 Oct 2015 12:50:52 +1000 Subject: [PATCH] Add documentation for data_format --- library/Requests.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/Requests.php b/library/Requests.php index a700b4531..751b6d805 100755 --- a/library/Requests.php +++ b/library/Requests.php @@ -329,6 +329,9 @@ public static function patch($url, $headers, $data = array(), $options = array() * (string|boolean, default: library/Requests/Transport/cacert.pem) * - `verifyname`: Should we verify the common name in the SSL certificate? * (boolean: default, true) + * - `data_format`: How should we send the `$data` parameter? + * (string, one of 'query' or 'body', default: 'query' for + * HEAD/GET/DELETE, 'body' for POST/PUT/OPTIONS/PATCH) * * @throws Requests_Exception On invalid URLs (`nonhttp`) *