Fix for Firefox and nginx
Monotone-Parent: 1493f36a1d4949d61e2af0b02cdc11d672b14313 Monotone-Revision: 01b9ae40e54cf048f707552dd1ec645189b4abf1 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-03-12T20:59:21 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
78aa8621f3
commit
c4286b952b
|
@ -270,7 +270,7 @@ withSearchOn: (NSString *) contact
|
|||
data = [NSDictionary dictionaryWithObjectsAndKeys: searchText, @"searchText",
|
||||
contacts, @"contacts",
|
||||
nil];
|
||||
result = [context response];
|
||||
result = [self responseWithStatus: 200];
|
||||
[(WOResponse*)result appendContentString: [data jsonRepresentation]];
|
||||
}
|
||||
else
|
||||
|
|
|
@ -243,8 +243,7 @@ static NSString *LDAPContactInfoAttribute = nil;
|
|||
{
|
||||
WOResponse *response;
|
||||
|
||||
response = [context response];
|
||||
[response setStatus: 200];
|
||||
response = [self responseWithStatus: 200];
|
||||
// [response setHeader: @"text/plain; charset=iso-8859-1"
|
||||
// forKey: @"Content-Type"];
|
||||
[response appendContentString: [self _freeBusyAsText]];
|
||||
|
|
Loading…
Reference in New Issue