def info(args):
    files = args

    if not files:
        raise CommandError("No input files specified.")

    for f in files:
        pdf = iohelper.read_pdf(f)
        print "*** Metadata for {}".format(f)
        print
        info = pdf.documentInfo
        if info:
            for name, value in info.items():
                print u"    {}:  {}".format(name, value)
        else:
            print "    (No metadata found.)"
        print
A hook to control the Vary headers.
dataset/ETHPy150Open hellerbarde/stapler/staplelib/commands.py/info--crossover with--dataset/ETHPy150Open skibblenybbles/django-daydreamer/daydreamer/views/behaviors/vary.py/VaryOnHeaders.get_vary_on_headers