Did I find the right examples for you? yes no

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

        def make_assets(site):
    assets = []
    for asset in site['assets'].values():
        if asset['compressible']:
            trailer = '.c'
        else:
            trailer = '.u'
        if asset['remote']:
            header = 'host2/'
        else:
            header = 'host1/'
        assets.append(header + str(asset['size']) + trailer)
    return assets
        


src/s/p/spdyathome-1.2.2/spdyathome/serverbase.py   spdyathome(Download)
        else:
            reqsize = int(site['assets'].pop('asset0')['size'])
        data['list'] = util.make_assets(site)
        data['junk'] = util.fill_junk(reqsize - len(str(data)))
        res.response_start(200, 'OK', headers)