--- action/cache.py.orig	2012-12-30 09:39:24.000000000 +0100
+++ action/cache.py	2012-12-30 10:01:37.000000000 +0100
@@ -202,7 +202,7 @@
     """ get last_modified and headers cached for key """
     meta_cache = caching.CacheEntry(request, cache_arena, key+'.meta', cache_scope, do_locking=do_locking, use_pickle=True)
     meta = meta_cache.content()
-    return meta['httpdate_last_modified'], meta['headers']
+    return meta['last_modified'], meta['headers']
 
 
 def _get_datafile(request, key):
@@ -214,9 +214,13 @@
 
 def _do_get(request, key):
     """ send a complete http response with headers/data cached for key """
+    import calendar
     try:
         last_modified, headers = _get_headers(request, key)
-        if request.if_modified_since == last_modified:
+        request_ims = request.if_modified_since
+        if request_ims != None:
+            request_ims = int(calendar.timegm(request_ims.timetuple()))
+        if request_ims == int(last_modified):
             request.status_code = 304
         else:
             for k, v in headers:
