Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/#14-use-temp-for-default-response-to-avoid-large…
Browse files Browse the repository at this point in the history
…-response-crashes'

Close #14
  • Loading branch information
Ocramius committed May 26, 2015
2 parents 5f5280d + 2bc0823 commit f347705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Request implements RequestInterface
* @param array $headers Headers for the message, if any.
* @throws \InvalidArgumentException for any invalid value.
*/
public function __construct($uri = null, $method = null, $body = 'php://memory', array $headers = [])
public function __construct($uri = null, $method = null, $body = 'php://temp', array $headers = [])
{
$this->initialize($uri, $method, $body, $headers);
}
Expand Down

0 comments on commit f347705

Please sign in to comment.