summaryrefslogtreecommitdiff
path: root/framework/Web/Services/TRpcService.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Services/TRpcService.php')
-rw-r--r--framework/Web/Services/TRpcService.php7
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