All Samples(7) | Call(7) | Derive(0) | Import(0)
src/t/u/TurboGears2-2.3.2/tg/flash.py TurboGears2(Download)
request.environ['webflash.payload'] = payload resp = response._current_obj() resp.set_cookie(self.cookie_name, payload) if len(resp.headers['Set-Cookie']) > 4096:
src/t/g/tg2-HEAD/tg/flash.py tg2(Download)
request.environ['webflash.payload'] = payload resp = response._current_obj() resp.set_cookie(self.cookie_name, payload) if len(resp.headers['Set-Cookie']) > 4096:
src/t/u/TurboGears2-2.3.2/tg/renderers/genshi.py TurboGears2(Download)
""" response = tg.response._current_obj() template_vars.update(self.genshi_functions)
src/t/u/TurboGears2-2.3.2/tg/controllers/util.py TurboGears2(Download)
""" if_none_matches = IF_NONE_MATCH.findall(tg.request.environ.get('HTTP_IF_NONE_MATCH', '')) response = tg.response._current_obj() response.headers['ETag'] = '"%s"' % key if str(key) in if_none_matches:
src/t/g/tg2-HEAD/tg/renderers/genshi.py tg2(Download)
""" response = tg.response._current_obj() template_vars.update(self.genshi_functions)
src/t/g/tg2-HEAD/tg/controllers/util.py tg2(Download)
""" if_none_matches = IF_NONE_MATCH.findall(tg.request.environ.get('HTTP_IF_NONE_MATCH', '')) response = tg.response._current_obj() response.headers['ETag'] = '"%s"' % key if str(key) in if_none_matches:
src/t/g/tgext.debugbar-0.2.4/tgext/debugbar/sections/request_vars.py tgext.debugbar(Download)
def content(self): vars = odict() request = tg.request._current_obj() response = tg.response._current_obj() attr_dict = request.environ.get('webob.adhoc_attrs', {}).copy()