HomeSort by relevance Sort by last modified time
    Searched refs:middleware (Results 1 - 24 of 24) sorted by null

  /external/chromium-trace/catapult/third_party/Paste/paste/evalexception/
__init__.py 6 from paste.evalexception.middleware import EvalException
  /external/chromium-trace/catapult/third_party/Paste/tests/
test_gzipper.py 2 from paste.gzipper import middleware namespace
10 wsgi_app = middleware(simple_app)
test_cgitb_catcher.py 7 app = lint.middleware(app)
test_registry.py 9 from paste.evalexception.middleware import EvalException
84 line = ('\nInserted by middleware!\nInsertValue at depth %s is %s'
100 line = ('\nAppended by middleware!\nAppendValue at \
  /external/chromium-trace/catapult/third_party/WebOb/webob/
dec.py 75 Also see :func:`wsgify.middleware` for a way to make middleware.
219 def middleware(cls, middle_func=None, app=None, **kw): member in class:wsgify
220 """Creates middleware
224 @wsgify.middleware
236 Or if you want to write output-rewriting middleware::
238 @wsgify.middleware
251 creates "middleware" that can be bound to an application, along with
263 """A `wsgify.middleware` invocation that has not yet wrapped a
264 middleware function; the intermediate object when you d
    [all...]
  /external/chromium-trace/catapult/third_party/Paste/paste/
gzipper.py 8 WSGI middleware
21 class middleware(object): class in inherits:object
29 # nothing for us to do, so this middleware will
97 return middleware(application)
102 Wrap the middleware, so that it applies gzipping to a response
107 return middleware(app, compress_level=compress_level)
flup_session.py 21 import flup.middleware.session namespace
22 flup_session = flup.middleware.session
101 Wraps the application in a session-managing middleware.
lint.py 6 Middleware to check for obedience to the WSGI specification.
125 def middleware(application, global_conf=None): function
129 middleware will check for WSGI compliancy on a number of levels.
130 This middleware does not modify the request or response in any
432 # @@: global_conf should be taken out of the middleware function,
434 return middleware(application)
438 __all__ = ['middleware', 'make_middleware']
recursive.py 4 Middleware to make internal requests and forward requests internally.
57 A WSGI middleware that allows for recursive and forwarded calls.
87 middleware = CheckForRecursionMiddleware(
89 return middleware(environ, start_response)
107 as the first argument and returns an initialised WSGI middleware
148 can specify a middleware factory. For example to keep the old status code
208 # Base middleware
213 # Otherwise construct the appropriate middleware factory
httpexceptions.py 8 HTTP Exception Middleware
12 request handler (`middleware`) that catches these exceptions and turns
608 ## Middleware implementation:
615 This middleware catches any exceptions (which are subclasses of
644 def middleware(*args, **kw): function
647 warnings.warn('httpexceptions.middleware is deprecated; use '
654 ``httpexceptions`` middleware; this catches any
661 reported on by another piece of middleware.
registry.py 9 and middleware.
21 RegistryManager middleware, which ensures that for the scope of the current
476 on a production server) and RegistryManager exists in the middleware
549 from paste.evalexception.middleware import get_debug_count
fixture.py 399 app = lint.middleware(self.app)
    [all...]
  /external/chromium-trace/catapult/third_party/Paste/tests/test_exceptions/
test_error_middleware.py 11 app = lint.middleware(app)
102 res = do_request(lint.middleware(iter_app), 200)
  /external/chromium-trace/catapult/third_party/Paste/paste/auth/
cas.py 17 passed to the system so that it can be used as middleware at any stage
33 middleware to implement CAS 1.0 authentication
38 then this middleware is a no-op, and the request is passed along
89 middleware = AuthCASHandler variable
multi.py 9 depends upon the environment and is not "fixed". This middleware allows
23 >>> multi.add_method('digest', digest.middleware, "Test Realm", authfunc)
28 >>> multi.add_method('form', form.middleware, authfunc)
30 >>> serve(cookie.middleware(multi))
39 This middleware provides two othogonal facilities:
47 invoked directly without middleware
72 middleware = MultiHandler variable
basic.py 57 HTTP/1.0 ``Basic`` authentication middleware
66 middleware is simply pass-through.
97 middleware = AuthBasicHandler variable
form.py 9 and password. This middleware component requires that an authorization
49 HTML-based login middleware
64 middleware is simply pass-through.
78 to ensure that this middleware component does not alter
120 middleware = AuthFormHandler variable
digest.py 169 middleware for HTTP Digest authentication (RFC 2617)
174 then this middleware is a no-op, and the request is passed
195 middleware is simply pass-through.
230 middleware = AuthDigestHandler variable
cookie.py 8 This authentication middleware saves the current REMOTE_USER,
200 the actual handler that should be put in your middleware stack
202 This middleware uses cookies to stash-away a previously authenticated
223 the ``environ['REMOTE_USER']`` restored by this middleware.
317 middleware = AuthCookieHandler variable
330 This middleware uses cookies to stash-away a previously
open_id.py 27 Using the OpenID Middleware
30 Using the OpenID middleware is fairly easy, the most minimal example using the
36 wsgi_app = open_id.middleware(wsgi_app, '/somewhere/to/store/openid/data')
41 A more complete login should involve having the OpenID middleware load your own
45 wsgi_app = open_id.middleware(wsgi_app, '/somewhere/to/store/openid/data',
82 This middleware implements OpenID Consumer behavior to authenticate a
90 Initialize the OpenID middleware
386 middleware = AuthOpenIDHandler variable
  /external/chromium-trace/catapult/third_party/Paste/tests/test_auth/
test_auth_cookie.py 20 return cookie.middleware(setter,*args,**kwargs)
  /external/chromium-trace/catapult/third_party/Paste/paste/exceptions/
errormiddleware.py 5 Error handler middleware
26 Error handling middleware
64 middleware is disabled. This can be useful in a testing situation
68 When this middleware encounters an exception listed in this
71 caught. This should generally be set by middleware that may
72 (but probably shouldn't be) installed above this middleware,
279 def __init__(self, middleware, environ):
280 self.middleware = middleware
305 wsgi_vars['application'] = self.middleware.applicatio
    [all...]
  /external/chromium-trace/catapult/third_party/webtest/webtest/
lint.py 9 Middleware to check for obedience to the WSGI specification.
153 def middleware(application, global_conf=None): function
157 middleware will check for WSGI compliancy on a number of levels.
158 This middleware does not modify the request or response in any
503 __all__ = ['middleware']
app.py 603 app = lint.middleware(self.app) if self.lint else self.app
768 # if remove str we will be have an error in lint.middleware

Completed in 426 milliseconds