Monotone-Parent: 6ab1e30417c6d736d1e01fa379f1ef179d460ba7

Monotone-Revision: 908afaadc04674cb978812d5d8624eef5a49063b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-04-12T13:58:24
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2011-04-12 13:58:24 +00:00
parent 141933f9eb
commit d6efc46a34
1 changed files with 15 additions and 0 deletions

View File

@ -316,8 +316,23 @@
- (id) defaultAction
{
// NSString *check;
// WOResponse *response;
// static NSString *etag = @"\"contacts-ui\"";
[self checkDefaultModulePreference];
// check = [[context request] headerForKey: @"if-none-match"];
// if ([check length] > 0 && [check rangeOfString: etag].location != NSNotFound) /* not perfectly correct */
// response = [self responseWithStatus: 304];
// else
// {
// response = [context response];
// [response setHeader: etag forKey: @"etag"];
// response = (WOResponse *) [super defaultAction];
// }
// return response;
return [super defaultAction];
}