Commit b2d43355 authored by 's avatar

merged fix for locale-dependent http date

parent 4ea8841c
...@@ -100,9 +100,6 @@ from urllib import quote ...@@ -100,9 +100,6 @@ from urllib import quote
from string import lower, join, split from string import lower, join, split
from App.Common import rfc1123_date from App.Common import rfc1123_date
def http_date(value, format='%a, %d %b %Y %H:%M:%S GMT'):
return time.strftime(format, time.gmtime(value))
class AcceleratedHTTPCache (Cache): class AcceleratedHTTPCache (Cache):
# Note the need to take thread safety into account. # Note the need to take thread safety into account.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment