Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Commit

Permalink
fixing call to setRawBody (and not setRawContent)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Pillet committed Jan 6, 2012
1 parent 64c63e4 commit 2d31862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Goutte/Client.php
Expand Up @@ -77,7 +77,7 @@ protected function createClient(Request $request)
$client->setMethod(strtoupper($request->getMethod())); $client->setMethod(strtoupper($request->getMethod()));


if ($request->getContent() !== null) { if ($request->getContent() !== null) {
$client->setRawData($request->getContent()); $client->setRawBody($request->getContent());
} }


if ('POST' == $request->getMethod()) { if ('POST' == $request->getMethod()) {
Expand Down

0 comments on commit 2d31862

Please sign in to comment.