See ChangeLog
Monotone-Parent: c81aed6c33ecd6c0b8b0babe93dd2b91b1c82e20 Monotone-Revision: fa74d98ba06edb4a99cc662ce175cbc2d92ced65 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-02-19T22:20:21 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
dbb9765bf3
commit
6856608bd8
|
@ -39,6 +39,8 @@
|
|||
|
||||
response = [context response];
|
||||
[response setStatus: status];
|
||||
[response setHeader: @"text/plain; charset=utf-8"
|
||||
forKey: @"Content-Type"];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
@ -66,8 +68,6 @@
|
|||
WOResponse *response;
|
||||
|
||||
response = [self responseWithStatus: 204];
|
||||
[response setHeader: @"text/plain; charset=utf-8"
|
||||
forKey: @"Content-Type"];
|
||||
|
||||
return response;
|
||||
}
|
||||
|
|
|
@ -243,7 +243,7 @@ withSearchOn: (NSString *) contact
|
|||
data = [NSDictionary dictionaryWithObjectsAndKeys: searchText, @"searchText",
|
||||
sortedContacts, @"contacts",
|
||||
nil];
|
||||
result = [context response];
|
||||
result = [self responseWithStatus: 200];
|
||||
[(WOResponse*)result appendContentString: [data jsonRepresentation]];
|
||||
}
|
||||
else
|
||||
|
|
|
@ -296,8 +296,6 @@ static NSArray *tasksFields = nil;
|
|||
WOResponse *response;
|
||||
|
||||
response = [self responseWithStatus: 200];
|
||||
[response setHeader: @"text/plain; charset=utf-8"
|
||||
forKey: @"content-type"];
|
||||
[response appendContentString: [data jsonRepresentation]];
|
||||
|
||||
return response;
|
||||
|
|
Loading…
Reference in New Issue