[Checkins] SVN: z3ext.cacheheaders/trunk/src/z3ext/cacheheaders/README.txt update tests
Nikolay Kim
fafhrd at datacom.kz
Sat Nov 22 15:01:58 EST 2008
Log message for revision 93262:
update tests
Changed:
U z3ext.cacheheaders/trunk/src/z3ext/cacheheaders/README.txt
-=-
Modified: z3ext.cacheheaders/trunk/src/z3ext/cacheheaders/README.txt
===================================================================
--- z3ext.cacheheaders/trunk/src/z3ext/cacheheaders/README.txt 2008-11-22 19:16:07 UTC (rev 93261)
+++ z3ext.cacheheaders/trunk/src/z3ext/cacheheaders/README.txt 2008-11-22 20:01:56 UTC (rev 93262)
@@ -105,7 +105,7 @@
'..., ... GMT'
>>> response.getHeader('Last-Modified')
- 'Wed, 10 Oct 2007 00:00:00 GMT'
+ 'Wed, 10 Oct 2007 01:00:00 GMT'
It also should automaticly convert modified date to utc timezone
@@ -114,7 +114,7 @@
>>> strategy = getStaticCache(ob).__bind__(request)
>>> strategy.setCacheHeaders()
>>> response.getHeader('Last-Modified')
- 'Wed, 10 Oct 2007 00:00:00 GMT'
+ 'Wed, 10 Oct 2007 01:00:00 GMT'
>>> ModInfo.dt = datetime.datetime(
... 2007, 10, 9, 18, 0, 0, 0, pytz.timezone('Asia/Almaty'))
@@ -122,7 +122,7 @@
>>> strategy = getStaticCache(ob).__bind__(request)
>>> strategy.setCacheHeaders()
>>> response.getHeader('Last-Modified')
- 'Wed, 10 Oct 2007 00:00:00 GMT'
+ 'Wed, 10 Oct 2007 01:00:00 GMT'
>>> ModInfo.dt = datetime.datetime(2007, 10, 10, 0, 0, 0, 0, tzinfo=pytz.utc)
@@ -151,7 +151,7 @@
200
>>> response.getHeader('Last-Modified')
- 'Wed, 10 Oct 2007 00:00:00 GMT'
+ 'Wed, 10 Oct 2007 01:00:00 GMT'
Additional feature, calculating duration of call.
More information about the Checkins
mailing list