diff --git a/tests/PEAR_Command_Pickle/pickle/packagefiles/http/docs/examples/KISS_XMLRPC_Client.php b/tests/PEAR_Command_Pickle/pickle/packagefiles/http/docs/examples/KISS_XMLRPC_Client.php index ac7498d61..edd39abec 100644 --- a/tests/PEAR_Command_Pickle/pickle/packagefiles/http/docs/examples/KISS_XMLRPC_Client.php +++ b/tests/PEAR_Command_Pickle/pickle/packagefiles/http/docs/examples/KISS_XMLRPC_Client.php @@ -26,7 +26,7 @@ public function __call($method, $params) if ($this->namespace) { $method = $this->namespace .'.'. $method; } - $this->request->setRawPostData(xmlrpc_encode_request($method, $params)); + $this->request->setBody(xmlrpc_encode_request($method, $params)); $response = $this->request->send(); if ($response->getResponseCode() != 200) { throw new Exception($response->getBody(), $response->getResponseCode()); @@ -38,6 +38,4 @@ public function getHistory() { return $this->request->getHistory(); } -} - -?> +} \ No newline at end of file