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

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

src/b/n/bnw-HEAD/bnw/web/auth.py   bnw(Download)
            if self.request.protocol == 'https':
                self.set_cookie(
                    'bnw_loginkey', key, expires_days=30, secure=True)
            else:
                self.set_cookie('bnw_loginkey', key, expires_days=30)