From b282fa042e344a3739d5b48ac393e50c082227e4 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 25 May 2011 08:08:06 +0000 Subject: fixed last blocking error related to the build script. it completes successfully now --- framework/Web/Services/TRpcService.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'framework/Web/Services') 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 -- cgit v1.2.3