diff options
author | ctrlaltca <> | 2012-07-12 10:20:07 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 10:20:07 +0000 |
commit | f58d980fb3c329beca42c209312860d4d972ba50 (patch) | |
tree | bccdf60327e1b6232b41be5b8c1c3896bc974524 /framework/Web/Services/TRpcService.php | |
parent | 541dddfb060c6ae67d172349ffb927dc90a26329 (diff) |
more documentation fixes
Diffstat (limited to 'framework/Web/Services/TRpcService.php')
-rw-r--r-- | framework/Web/Services/TRpcService.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Services/TRpcService.php b/framework/Web/Services/TRpcService.php index 6eff6542..5f3a0b7e 100644 --- a/framework/Web/Services/TRpcService.php +++ b/framework/Web/Services/TRpcService.php @@ -128,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 |