public function ServicesClientConnectionRestServerParser::prepareRequest in Services Client 7
Same name and namespace in other branches
- 7.2 services_client_connection/plugins/ServicesClientConnectionRestServer.inc \ServicesClientConnectionRestServerParser::prepareRequest()
Prepare request
Parameters
ServicesClientConnectionHttpRequest $request:
File
- services_client_connection/
plugins/ ServicesClientConnectionRestServer.inc, line 348
Class
Code
public function prepareRequest(&$request) {
if ($accept = $this
->getParserInfo('accept')) {
$request->http_headers['Accept'] = $accept;
}
}