Home
last modified time | relevance | path

Searched refs:middleware (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium-trace/catapult/third_party/WebOb/webob/
Ddec.py219 def middleware(cls, middle_func=None, app=None, **kw): member in wsgify
280 return self.wrapper_class.middleware(func, app=app, **self.kw)
287 def __init__(self, wrapper_class, middleware, kw): argument
289 self.middleware = middleware
294 self.middleware)
299 return self.wrapper_class.middleware(self.middleware, app, **kw)
/external/chromium-trace/catapult/third_party/WebOb/docs/
Dcomment-example.txt9 This is an example of how to write WSGI middleware with WebOb. The
11 page served through the middleware that is HTML gets a comment form
28 Every middleware needs an application (``app``) that it wraps. This
29 middleware also needs a location to store the comments; we'll put them
43 When you use this middleware, you'll use it like:
96 While we've created the class structure for the middleware, it doesn't
98 middleware (using WebOb):
128 of infrastructure for our middleware. We need to save and load
269 to the middleware; we can intercept anything else below
286 # This is the base path of *this* middleware:
[all …]
/external/chromium-trace/catapult/third_party/Paste/paste/
Dgzipper.py21 class middleware(object): class
97 return middleware(application)
107 return middleware(app, compress_level=compress_level)
Dflup_session.py21 import flup.middleware.session
22 flup_session = flup.middleware.session
Drecursive.py87 middleware = CheckForRecursionMiddleware(
89 return middleware(environ, start_response)
Dlint.py125 def middleware(application, global_conf=None): function
434 return middleware(application)
/external/chromium-trace/catapult/third_party/Paste/tests/
Dtest_gzipper.py2 from paste.gzipper import middleware
10 wsgi_app = middleware(simple_app)
Dtest_cgitb_catcher.py7 app = lint.middleware(app)
/external/chromium-trace/catapult/third_party/Paste/tests/test_exceptions/
Dtest_error_middleware.py11 app = lint.middleware(app)
102 res = do_request(lint.middleware(iter_app), 200)
/external/chromium-trace/catapult/third_party/Paste/paste/exceptions/
Derrormiddleware.py279 def __init__(self, middleware, environ): argument
280 self.middleware = middleware
305 wsgi_vars['application'] = self.middleware.application
/external/chromium-trace/catapult/third_party/Paste/
DREADME.rst1 Paste provides several pieces of "middleware" (or filters) that can be nested
2 to build web applications. Each piece of middleware uses the WSGI (`PEP 333`_)
3 interface, and should be compatible with other middleware based on those
DPKG-INFO9 Description: Paste provides several pieces of "middleware" (or filters) that can be nested
10 to build web applications. Each piece of middleware uses the WSGI (`PEP 333`_)
11 interface, and should be compatible with other middleware based on those
/external/chromium-trace/catapult/third_party/Paste/paste/evalexception/
D__init__.py6 from paste.evalexception.middleware import EvalException
/external/chromium-trace/catapult/third_party/Paste/docs/modules/
Dgzipper.txt9 .. autoclass:: middleware
Dlint.txt9 .. autofunction:: middleware
/external/chromium-trace/catapult/third_party/Paste/Paste.egg-info/
DPKG-INFO9 Description: Paste provides several pieces of "middleware" (or filters) that can be nested
10 to build web applications. Each piece of middleware uses the WSGI (`PEP 333`_)
11 interface, and should be compatible with other middleware based on those
Dentry_points.txt30 evalerror = paste.evalexception.middleware:make_eval_exception
/external/chromium-trace/catapult/third_party/Paste/docs/
DDeveloperGuidelines.txt26 middleware that puts the configuration in place is really really
28 both a library and middleware form is good.
61 and middleware. Pay particular attention to ``TestApp``.
Ddo-it-yourself-framework.txt332 <http://www.python.org/peps/pep-0333.html#middleware-components-that-play-both-sides>`_
335 What is middleware? Middleware is software that serves as an
340 write one. We'll write an authentication middleware, so that you can
356 So how does this work? Well, we're writing "middleware", which means
362 To give an example of a really really simple middleware, here's one
368 # the middleware constructor:
496 Now you have middleware! Hurrah!
501 It's even easier to use other people's middleware than to make your
Dfuture.txt35 Not sure; Ben has an implementation of errordocuments in ``pylons.middleware.StatusCodeRedirect``
99 …little uncomfortable with this in concept. It's largely in WebOb right now, but not as middleware.
/external/chromium-trace/catapult/third_party/Paste/paste/auth/
Dmulti.py72 middleware = MultiHandler variable
Dcas.py89 middleware = AuthCASHandler variable
Dform.py120 middleware = AuthFormHandler variable
Dbasic.py97 middleware = AuthBasicHandler variable
/external/chromium-trace/catapult/third_party/Paste/tests/test_auth/
Dtest_auth_cookie.py20 return cookie.middleware(setter,*args,**kwargs)

12