…s assumed that $this->request_alter was an object implementing alterRequest(). It now works with any callable.
by fago: Change to use drupal_json_encode(), breaking change
…ers while doing interpreting response by SimmeLj: Extended base formatter to allow sending of data as a form by Hugo Wetterberg: Fixed logic error that caused the accept-header to be set only when a request with a request body was made by voxpelli: Now throws exception when JSON decoding fails and not just when the PHP decoding fails by voxpelli: Made it possible to specify a realm as well as to send parameters when using the OAuth authentication header
…n using the oauth authentication header.
… request with a request body was made.
…ich leverages the also new delegate system. Fixed the autoload hook and renamed RestClient.php to RestClient.inc. Reintroduced some encapsulation in the RestClientRequest and reworked the flow a bit so that it would still work with rest_client_oauth.
…s used. And a method for getting the last curl error