Home
last modified time | relevance | path

Searched refs:HTTPUnauthorized (Results 1 – 25 of 61) sorted by relevance

123

/dports/devel/py-repoze.who/repoze.who-2.4/repoze/who/tests/
H A Dtest_middleware.py251 from webob.exc import HTTPUnauthorized
255 challenge_app = HTTPUnauthorized()
265 from webob.exc import HTTPUnauthorized
269 challenge_app = HTTPUnauthorized()
286 from webob.exc import HTTPUnauthorized
290 challenge_app = HTTPUnauthorized()
315 challenge_app = HTTPUnauthorized()
343 challenge_app = HTTPUnauthorized()
371 challenge_app = HTTPUnauthorized()
431 challenge_app = HTTPUnauthorized()
[all …]
/dports/net/py-python-ceilometerclient/python-ceilometerclient-2.9.0/ceilometerclient/tests/unit/
H A Dtest_shell.py118 mock_ksclient.side_effect = exc.HTTPUnauthorized
135 mock_ksclient.side_effect = exc.HTTPUnauthorized("FAIL")
147 mock_ksclient.side_effect = exc.HTTPUnauthorized
162 mock_ksclient.side_effect = exc.HTTPUnauthorized("FAIL")
200 mocked_session.side_effect = exc.HTTPUnauthorized("FAIL")
224 mocked_session.side_effect = exc.HTTPUnauthorized("FAIL")
245 mocked_session.side_effect = exc.HTTPUnauthorized("FAIL")
H A Dtest_exc.py22 'HTTPUnauthorized': exc.HTTPUnauthorized,
/dports/www/py-turbogears2/TurboGears2-2.3.12/tests/
H A Dtest_fastform.py1 from webob.exc import HTTPFound, HTTPUnauthorized
67 assert isinstance(env['repoze.who.application'], HTTPUnauthorized)
74 assert isinstance(env['repoze.who.application'], HTTPUnauthorized)
/dports/www/py-falcon/falcon-2.0.0/tests/
H A Dtest_error.py113 raise falcon.HTTPUnauthorized()
114 except falcon.HTTPUnauthorized as e:
122 raise falcon.HTTPUnauthorized(
128 except falcon.HTTPUnauthorized as e:
H A Dtest_example.py62 raise falcon.HTTPUnauthorized('Auth token required',
71 raise falcon.HTTPUnauthorized('Authentication required',
/dports/devel/py-oslo.middleware/oslo.middleware-4.5.0/oslo_middleware/
H A Dbasic_auth.py101 raise webob.exc.HTTPUnauthorized()
117 raise webob.exc.HTTPUnauthorized()
192 raise webob.exc.HTTPUnauthorized()
/dports/devel/py-repoze.who/repoze.who-2.4/repoze/who/plugins/
H A Dbasicauth.py3 from webob.exc import HTTPUnauthorized
63 return HTTPUnauthorized(headers=head)
/dports/www/py-pyramid/pyramid-1.7.3/docs/api/
H A Dhttpexceptions.rst11 "401" maps to :class:`pyramid.httpexceptions.HTTPUnauthorized`). All
56 .. autoexception:: HTTPUnauthorized
/dports/www/py-paste/Paste-3.4.6/paste/auth/
H A Dbasic.py24 from paste.httpexceptions import HTTPUnauthorized
38 return HTTPUnauthorized(headers=head)
H A Ddigest.py32 from paste.httpexceptions import HTTPUnauthorized
102 return HTTPUnauthorized(headers=head)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/Paste/paste/auth/
H A Dbasic.py24 from paste.httpexceptions import HTTPUnauthorized
38 return HTTPUnauthorized(headers=head)
H A Ddigest.py32 from paste.httpexceptions import HTTPUnauthorized
103 return HTTPUnauthorized(headers=head)
/dports/mail/mailman3/mailman-3.3.1/src/mailman/rest/
H A Dwsgiapp.py24 from falcon import API, HTTPUnauthorized
63 raise HTTPUnauthorized(
/dports/www/py-turbogears2/TurboGears2-2.3.12/tg/configuration/auth/
H A Dfastform.py14 from webob.exc import HTTPFound, HTTPUnauthorized
95 environ['repoze.who.application'] = HTTPUnauthorized()
H A Dsetup.py14 from webob.exc import HTTPUnauthorized
63 response = HTTPUnauthorized(headers=headers)
/dports/devel/py-oslo.middleware/oslo.middleware-4.5.0/oslo_middleware/tests/
H A Dtest_auth_basic.py108 self.assertRaises(webob.exc.HTTPUnauthorized,
161 e = self.assertRaises(webob.exc.HTTPUnauthorized,
/dports/devel/py-pyquery/pyquery-1.4.3/tests/
H A Dapps.py33 return exc.HTTPUnauthorized('vomis')(environ, start_response)
/dports/misc/py-cinder/cinder-12.0.10/cinder/tests/unit/volume/drivers/hpe/
H A Dfake_hpe_client_exceptions.py105 class HTTPUnauthorized(ClientException): class
/dports/net/py-python-ceilometerclient/python-ceilometerclient-2.9.0/ceilometerclient/
H A Dexc.py77 class HTTPUnauthorized(HTTPException): class
/dports/net/py-python-heatclient/python-heatclient-2.4.0/heatclient/
H A Dexc.py102 class HTTPUnauthorized(Unauthorized): class
/dports/net/py-python-glanceclient/python-glanceclient-3.5.0/glanceclient/
H A Dexc.py80 class HTTPUnauthorized(Unauthorized): class
/dports/www/py-falcon/falcon-2.0.0/falcon/
H A Derrors.py95 class HTTPUnauthorized(HTTPError): class
160 super(HTTPUnauthorized, self).__init__(status.HTTP_401, title,
/dports/www/trac-devel/Trac-1.5.3/doc/api/
H A Dtrac_web_api.rst96 .. autoexception :: HTTPUnauthorized
/dports/www/py-pyramid/pyramid-1.7.3/docs/narr/
H A Dviews.rst184 For example, the :class:`pyramid.httpexceptions.HTTPUnauthorized` exception can
191 from pyramid.httpexceptions import HTTPUnauthorized
194 raise HTTPUnauthorized()
202 from pyramid.httpexceptions import HTTPUnauthorized
205 return HTTPUnauthorized()
211 :class:`~pyramid.httpexceptions.HTTPUnauthorized` response object, you can use
225 equivalent to ``raise HTTPUnauthorized()``. Documentation which maps each HTTP

123