Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/b/u/Buckley-HEAD/sketch/webapp.py   Buckley(Download)
 
        if max_age:
          exp = sketch.util.HTTPDate(time.time() + max_age)
        if permanent:
          max_age = 60 * 60 * 24 * 365 * 5
          exp = sketch.util.HTTPDate(time.time() + max_age)
        elif clear:
          max_age = 0
          exp = sketch.util.HTTPDate(time.time() - 60 * 60 * 24 * 365 * 5)