mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-62584 xmlrpc: return correct content-length
This commit is contained in:
parent
6b2e04676a
commit
024ede2c6b
1 changed files with 2 additions and 1 deletions
|
@ -133,8 +133,9 @@ class webservice_xmlrpc_server extends webservice_base_server {
|
||||||
* @param Exception $ex
|
* @param Exception $ex
|
||||||
*/
|
*/
|
||||||
protected function send_error($ex = null) {
|
protected function send_error($ex = null) {
|
||||||
|
$this->response = $this->generate_error($ex);
|
||||||
$this->send_headers();
|
$this->send_headers();
|
||||||
echo $this->generate_error($ex);
|
echo $this->response;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue