MDL-62584 xmlrpc: return correct content-length
This commit is contained in:
@@ -133,8 +133,9 @@ class webservice_xmlrpc_server extends webservice_base_server {
|
||||
* @param Exception $ex
|
||||
*/
|
||||
protected function send_error($ex = null) {
|
||||
$this->response = $this->generate_error($ex);
|
||||
$this->send_headers();
|
||||
echo $this->generate_error($ex);
|
||||
echo $this->response;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user