def __iter__(self): self.start( '302 Found', # '301 Moved Permanently', [('Content-Type', 'text/html'), ('Location', '/')]) ARTICLES.pop(self.index) yield ''
def __iter__(self): self.start('302 Found', # '301 Moved Permanently', [('Content-Type', 'text/html'), ('Location', '/')]) ARTICLES.pop(self.index) yield ''
def __iter__(self): self.start("302 Found", [("Content-Type", "text/html"), ("Location", "/")]) # '301 Moved Permanently', ARTICLES.pop(self.index) yield ""
def response(self): ARTICLES.pop(self.index) return Response(status=302, location='/')
def response(self): from webob import Response ARTICLES.pop(self.index) return Response(status=302, location='/')