| @@ 1137-1141 (lines=5) @@ | ||
| 1134 | } |
|
| 1135 | ||
| 1136 | // Check for data |
|
| 1137 | if ($data === '') |
|
| 1138 | { |
|
| 1139 | error_log($this->xmlrpcstr['no_data']); |
|
| 1140 | return new XML_RPC_Response(0, $this->xmlrpcerr['no_data'], $this->xmlrpcstr['no_data']); |
|
| 1141 | } |
|
| 1142 | ||
| 1143 | // Check for HTTP 200 Response |
|
| 1144 | if (strpos($data, 'HTTP') === 0 && ! preg_match('/^HTTP\/[0-9\.]+ 200 /', $data)) |
|
| @@ 332-335 (lines=4) @@ | ||
| 329 | // Valid Method |
|
| 330 | //------------------------------------- |
|
| 331 | ||
| 332 | if ( ! isset($this->methods[$methName]['function'])) |
|
| 333 | { |
|
| 334 | return new XML_RPC_Response(0, $this->xmlrpcerr['unknown_method'], $this->xmlrpcstr['unknown_method']); |
|
| 335 | } |
|
| 336 | ||
| 337 | //------------------------------------- |
|
| 338 | // Check for Method (and Object) |
|