Skip to content

Commit

Permalink
Better documenting the behavior of the mime parameter on body
Browse files Browse the repository at this point in the history
As pointed out in Issue #119, this may produce unexpected results. The behavior of this parameter
will change in the next minor release. See r0.3.0 branch.
  • Loading branch information
Nathan committed May 21, 2014
1 parent 21bdacf commit c430e7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Httpful/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ public function authenticateWithCert($cert, $key, $passphrase = null, $encoding
* Set the body of the request
* @return Request this
* @param mixed $payload
* @param string $mimeType
* @param string $mimeType currently, sets the sends AND expects mime type although this
* behavior may change in the next minor release (as it is a potential breaking change).
*/
public function body($payload, $mimeType = null)
{
Expand Down

0 comments on commit c430e7c

Please sign in to comment.