diff --git a/servers/rest_server/includes/ServicesContext.inc b/servers/rest_server/includes/ServicesContext.inc index 478ddd9..0c37390 100644 --- a/servers/rest_server/includes/ServicesContext.inc +++ b/servers/rest_server/includes/ServicesContext.inc @@ -161,6 +161,11 @@ class ServicesContext implements ServicesContextInterface { if (isset($this->data['server'][$variable_name])) { return $this->data['server'][$variable_name]; } + else { + if ($variable_name == 'CONTENT_TYPE' && isset($this->data['server']['HTTP_CONTENT_TYPE'])) { + return $this->data['server']['HTTP_CONTENT_TYPE']; + } + } } /**