Skip to content

Commit

Permalink
Add documentation for data_format
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccue committed Oct 26, 2015
1 parent bda17c0 commit d8c27f2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/Requests.php
Expand Up @@ -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`)
*
Expand Down

0 comments on commit d8c27f2

Please sign in to comment.