diff --git a/UI/Common/WODirectAction+SOGo.m b/UI/Common/WODirectAction+SOGo.m index d6395ad33..ee6338da1 100644 --- a/UI/Common/WODirectAction+SOGo.m +++ b/UI/Common/WODirectAction+SOGo.m @@ -40,7 +40,7 @@ response = [context response]; [response setStatus: status]; [response setHeader: @"text/plain; charset=utf-8" - forKey: @"Content-Type"]; + forKey: @"content-type"]; return response; } diff --git a/UI/SOGoUI/UIxComponent.m b/UI/SOGoUI/UIxComponent.m index 8e5a5c7d6..e34621427 100644 --- a/UI/SOGoUI/UIxComponent.m +++ b/UI/SOGoUI/UIxComponent.m @@ -602,7 +602,6 @@ static BOOL uixDebugEnabled = NO; response = [context response]; [response setStatus: status]; - [response setHeader: @"text/plain" forKey: @"Content-Type"]; return response; }