mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-17 11:27:59 +00:00
progress
This commit is contained in:
@@ -48,12 +48,12 @@
|
||||
Class clazz;
|
||||
|
||||
request = (WORequest *)[context request];
|
||||
response = [context response];
|
||||
response = (WOResponse *)[context response];
|
||||
[response setStatus: 200];
|
||||
[response setHeader: @"text/plain; charset=utf-8" forKey: @"content-type"];
|
||||
[response setHeader: @"application/json; charset=utf-8" forKey: @"content-type"];
|
||||
|
||||
bundle = [NSBundle bundleForClass: NSClassFromString(@"SOGoAPIProduct")];
|
||||
clazz = [bundle classNamed: @"SOGoApiDispatcher"];
|
||||
clazz = [bundle classNamed: @"SOGoAPIDispatcher"];
|
||||
dispatcher = [[clazz alloc] init];
|
||||
|
||||
ex = [dispatcher dispatchRequest: request inResponse: response context: context];
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
RELEASE(dispatcher);
|
||||
|
||||
[[SOGoCache sharedCache] killCache];
|
||||
//[[SOGoCache sharedCache] killCache];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
SOGoAPI = {
|
||||
protectedBy = "<public>";
|
||||
actionClass = "SOGoAPIActions";
|
||||
actionName = "sogoAPIAction";
|
||||
actionName = "sogoAPI";
|
||||
};
|
||||
casProxy = {
|
||||
protectedBy = "<public>";
|
||||
|
||||
Reference in New Issue
Block a user