Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. if response is not None:
  2.     if not response.has_header('Expires'):
  3.         response['Expires'] = http_date(time.time() + cache_timeout)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement