Monotone-Parent: 6ab1e30417c6d736d1e01fa379f1ef179d460ba7
Monotone-Revision: 908afaadc04674cb978812d5d8624eef5a49063b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-12T13:58:24 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
141933f9eb
commit
d6efc46a34
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue