Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if response is not None:
- if not response.has_header('Expires'):
- response['Expires'] = http_date(time.time() + cache_timeout)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement