Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/c/s/cspace-HgSite-1.1/cspace/hgsite/site.py   cspace-HgSite(Download)
from mercurial.hgweb import common, webcommands, webutil
 
from .util import exists_in_wc, find_line_no, get_ext, guess_mimetype, \
                  hex_node, href_builder, http_date
 
    if req.url_node:
        headers = [('Cache-Control', 'public'),
                   ('Expires', http_date(time.time() + 365 * 24 * 3600))]
    else:
        headers = cache_must_revalidate