HomeSort by relevance Sort by last modified time
    Searched full:app_iter (Results 1 - 25 of 32) sorted by null

1 2

  /external/chromium-trace/catapult/third_party/Paste/paste/
cgitb_catcher.py 44 app_iter = self.app(environ, start_response)
45 return self.catching_iter(app_iter, environ)
56 def catching_iter(self, app_iter, environ):
57 if not app_iter:
61 for v in app_iter:
63 if hasattr(app_iter, 'close'):
65 app_iter.close()
68 if not error_on_close and hasattr(app_iter, 'close'):
70 app_iter.close()
wsgilib.py 33 An an iterable that iterates over app_iter, then calls
39 self.app_iter = iter(app_iterable)
47 return self.app_iter.next()
58 print("Error: app_iter.close() was not called when finishing "
64 An an iterable that iterates over app_iter, calls start_func
71 self.app_iter = iter(app_iterable)
84 return next(self.app_iter)
97 print("Error: app_iter.close() was not called when finishing "
129 for app_iter in self.app_iters:
131 if hasattr(app_iter, 'close')
    [all...]
gzipper.py 33 app_iter = self.application(environ,
35 if app_iter is not None:
36 response.finish_response(app_iter)
73 def finish_response(self, app_iter):
80 for s in app_iter:
85 if hasattr(app_iter, 'close'):
86 app_iter.close()
errordocument.py 202 app_iter = self.application(environ, change_response)
204 if hasattr(app_iter, 'close'):
205 app_iter.close()
212 return app_iter
328 app_iter = self.application(environ, change_response)
371 app_iter = forward(url_, new_environ)
387 return app_iter
389 return app_iter
recursive.py 327 app_iter = self.application(environ, start_response)
329 for s in app_iter:
332 if hasattr(app_iter, 'close'):
333 app_iter.close()
369 Like Includer, but just stores the app_iter response
381 app_iter = self.application(environ, start_response)
382 response.app_iter = app_iter
391 self.app_iter = None
397 if hasattr(self.app_iter, 'close')
    [all...]
config.py 105 app_iter = application(environ, start_response)
111 return app_iter
flup_session.py 83 app_iter = self.application(environ, cookie_start_response)
94 return wsgilib.add_close(app_iter, service.close)
session.py 69 app_iter = self.application(environ, session_start_response)
77 "app_iter has been returned")
82 return wsgilib.add_start_close(app_iter, start, close)
  /external/chromium-trace/catapult/third_party/WebOb/webob/
response.py 87 def __init__(self, body=None, status=None, headerlist=None, app_iter=None,
90 if app_iter is None and body is None and ('json_body' in kw or 'json' in kw):
98 if app_iter is None:
103 "You may only give one of the body and app_iter arguments")
138 if app_iter is None:
145 app_iter = [body]
150 self._app_iter = app_iter
194 app_iter=(),
205 # we need to do this for app_iter to be reusable
206 app_iter = list(self._app_iter
503 app_iter = property(_app_iter__get, _app_iter__set, _app_iter__del, variable in class:Response
    [all...]
static.py 53 app_iter = req.environ['wsgi.file_wrapper'](file, BLOCK_SIZE)
55 app_iter = FileIter(file)
58 app_iter = app_iter,
request.py     [all...]
exc.py 328 app_iter = Response.__call__(self, environ, start_response)
330 app_iter = self.generate_response(environ, start_response)
332 app_iter = []
333 return app_iter
    [all...]
  /external/chromium-trace/catapult/third_party/Paste/paste/debug/
wdg_validate.py 50 app_iter = self.app(environ, writer_start_response)
52 for s in app_iter:
55 if hasattr(app_iter, 'close'):
56 app_iter.close()
profile.py 55 app_iter = self.app(environ, replace_start_response)
57 body.extend(app_iter)
59 if hasattr(app_iter, 'close'):
60 app_iter.close()
  /external/chromium-trace/catapult/third_party/Paste/paste/cowbell/
__init__.py 29 app_iter = self.app(environ, repl_start_response)
32 body.extend(app_iter)
38 return app_iter
  /external/chromium-trace/catapult/third_party/WebOb/
README.rst 17 environment and response status/headers/app_iter(body).
  /external/chromium-trace/catapult/third_party/Paste/tests/
test_registry.py 89 app_iter = None
90 app_iter = self.app(environ, start_response)
91 if type(app_iter) in (list, tuple):
92 app_response.extend(app_iter)
95 for line in app_iter:
97 if hasattr(app_iter, 'close'):
98 app_iter.close()
  /external/chromium-trace/catapult/third_party/Paste/paste/exceptions/
errormiddleware.py 142 app_iter = self.application(environ, sr_checker)
143 return self.make_catching_iter(app_iter, environ, sr_checker)
162 def make_catching_iter(self, app_iter, environ, sr_checker):
163 if isinstance(app_iter, (list, tuple)):
165 return app_iter
166 return CatchingIter(app_iter, environ, sr_checker, self)
207 def __init__(self, app_iter, environ, start_checker, error_middleware):
208 self.app_iterable = app_iter
209 self.app_iterator = iter(app_iter)
  /external/chromium-trace/catapult/third_party/WebOb/docs/pycon2011/
response_table.rst 26 app_iter b x get_app_iter()
  /external/chromium-trace/catapult/third_party/WebOb/docs/
differences.txt 288 ``res.app_iter`` gives an iterable in WebOb.
387 In ``res.body`` (settable as ``res.body`` or ``res.app_iter``)
512 have set the ``res.app_iter``).
522 string. Anytime you access ``res.app_iter`` you will get an
523 iterable. ``res.body`` and ``res.app_iter`` can be interchanged
529 ``res.app_iter = result``. ``res.body`` accepts None, a unicode
531 ``res.app_iter`` only accepts None and an interable. You can't
627 * Providing a non-string ``app_iter`` for the body (like a generator).
file-example.txt 94 ... res.app_iter = FileIterable(filename)
119 ... res.app_iter = FileIterable(filename)
212 >>> res2.app_iter
reference.txt 511 Note it returns ``(status_string, header_list, app_iter)``. If
512 ``app_iter.close()`` exists, it is your responsibility to call it.
622 Body & app_iter
627 you have a charset defined). There is also a ``res.app_iter``
629 return these ``app_iter`` iterators instead of strings, and sometimes
636 ``res.app_iter`` will be created for you. If you set ``res.app_iter``
640 app_iter in-place (turning the app_iter into a list if necessary):
656 >>> res.app_iter
    [all...]
index.txt 53 environment and response status/headers/app_iter(body).
199 ``response.app_iter``:
205 to ``app_iter``).
  /external/chromium-trace/catapult/third_party/Paste/paste/auth/
open_id.py 162 app_iter = self.app(environ, replacement_start_response)
165 list(app_iter)
167 if hasattr(app_iter, 'close'):
168 app_iter.close()
174 return app_iter
  /external/chromium-trace/catapult/third_party/Paste/paste/evalexception/
middleware.py 310 app_iter = self.application(environ, detect_start_response)
312 return_iter = list(app_iter)
315 if hasattr(app_iter, 'close'):
316 app_iter.close()

Completed in 305 milliseconds

1 2