diff --git a/api/RestfulService.php b/api/RestfulService.php index 05913c3f5..5c95d451d 100644 --- a/api/RestfulService.php +++ b/api/RestfulService.php @@ -352,7 +352,7 @@ class RestfulService extends ViewableData { $match[1] = preg_replace_callback( '/(?<=^|[\x09\x20\x2D])./', create_function('$matches', 'return strtoupper($matches[0]);'), - strtolower(trim($match[1])) + trim($match[1]) ); if( isset($headers[$match[1]]) ) { if (!is_array($headers[$match[1]])) {