diff options
author | ctrlaltca@gmail.com <> | 2011-05-25 08:08:06 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-05-25 08:08:06 +0000 |
commit | b282fa042e344a3739d5b48ac393e50c082227e4 (patch) | |
tree | 4a62b0978119499426867e68eea94b30cc61413c /framework/Web/Services/TRpcService.php | |
parent | 58544be11ffc793eb39d613ce7878a7feba1ee02 (diff) |
fixed last blocking error related to the build script. it completes successfully now
Diffstat (limited to 'framework/Web/Services/TRpcService.php')
-rw-r--r-- | framework/Web/Services/TRpcService.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/Web/Services/TRpcService.php b/framework/Web/Services/TRpcService.php index 3ea5d743..afde9bb1 100644 --- a/framework/Web/Services/TRpcService.php +++ b/framework/Web/Services/TRpcService.php @@ -7,6 +7,7 @@ * @license http://www.pradosoft.com/license/ * @version $Id$ * @since 3.2 + * @package System.Web.Services */ /** @@ -25,12 +26,12 @@ class TRpcService extends TService { /** - * @const string base api provider class which every API must extend + * const string base api provider class which every API must extend */ const BASE_API_PROVIDER = 'TRpcApiProvider'; /** - * @const string base RPC server implementation + * const string base RPC server implementation */ const BASE_RPC_SERVER = 'TRpcServer'; @@ -127,7 +128,7 @@ class TRpcService extends TService throw new THttpException(405, 'Invalid request method "'.$_method.'"!'); // TODO Exception muss "Allow POST" Header setzen if(($_mimeType = $_request->getContentType()) === null) - throw new THttpException(406, 'Content-Type is missing!'); // TODO Exception muss gültige Content-Type werte zurück geben + throw new THttpException(406, 'Content-Type is missing!'); // TODO Exception muss gültige Content-Type werte zurück geben if(!in_array($_mimeType, array_keys($this->protocolHandlers))) throw new THttpException(406, 'Unsupported Content-Type!'); // TODO see previous |