Monotone-Parent: 9b3a8a4c66cfa9329c941f7789f248573edff6ac
Monotone-Revision: bcb224398f8aef1d62aad42e31635b91c0c993f7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-03-09T20:29:17 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
8de0a61998
commit
2b03a58b9d
|
@ -1,5 +1,9 @@
|
|||
2010-03-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* UI/SOGoUI/UIxComponent.m
|
||||
(-responseWithStatus:andJSONRepresentation:): we now add the
|
||||
"application/json" content type to the response object.
|
||||
|
||||
* UI/MainUI/SOGoUserHomePage.m (_usersResponseForResults:): we now
|
||||
return a JSON response with an encoded array of arrays.
|
||||
|
||||
|
|
|
@ -616,8 +616,13 @@ static NSMutableArray *abbrMonthLabelKeys = nil;
|
|||
- (WOResponse *) responseWithStatus: (unsigned int) status
|
||||
andJSONRepresentation: (NSObject *) contentObject;
|
||||
{
|
||||
return [self responseWithStatus: status
|
||||
andString: [contentObject jsonRepresentation]];
|
||||
WOResponse *response;
|
||||
|
||||
response = [self responseWithStatus: status
|
||||
andString: [contentObject jsonRepresentation]];
|
||||
[response setHeader: @"application/json" forKey: @"content-type"];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
||||
- (WOResponse *) responseWith204
|
||||
|
|
Loading…
Reference in New Issue