From d6efc46a34b475cf3ed094630405792c96502a32 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 12 Apr 2011 13:58:24 +0000 Subject: [PATCH] Monotone-Parent: 6ab1e30417c6d736d1e01fa379f1ef179d460ba7 Monotone-Revision: 908afaadc04674cb978812d5d8624eef5a49063b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-04-12T13:58:24 Monotone-Branch: ca.inverse.sogo --- UI/Contacts/UIxContactFoldersView.m | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/UI/Contacts/UIxContactFoldersView.m b/UI/Contacts/UIxContactFoldersView.m index 3fcdc1572..c59ae0cfc 100644 --- a/UI/Contacts/UIxContactFoldersView.m +++ b/UI/Contacts/UIxContactFoldersView.m @@ -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]; }