mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-03 20:38:50 +00:00
Monotone-Parent: 9b3a8a4c66cfa9329c941f7789f248573edff6ac
Monotone-Revision: bcb224398f8aef1d62aad42e31635b91c0c993f7 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-03-09T20:29:17 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user