public function putAction(Request $request, $resource, $site = 'default')
{
$status = 500;
$header = $request->headers->all();
$client = $this->createClient($site, $resource, $request->get('lang', 'en'));
$result = $client->put($request->getContent(), $header, $status);
return $this->createResponse($result, $status, $header);
}