Home
last modified time | relevance | path

Searched refs:BaseHandler (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Doc/library/
Dwsgiref.rst484 This class is a subclass of :class:`BaseHandler`. It overrides the
492 .. class:: BaseHandler()
498 :class:`BaseHandler` instances have only one method intended for external use:
501 .. method:: BaseHandler.run(app)
505 All of the other :class:`BaseHandler` methods are invoked by this method in the
512 .. method:: BaseHandler._write(data)
515 method actually transmits the data; :class:`BaseHandler` just separates write
520 .. method:: BaseHandler._flush()
526 .. method:: BaseHandler.get_stdin()
532 .. method:: BaseHandler.get_stderr()
[all …]
Durllib2.rst101 order given. *handler*\s can be either instances of :class:`BaseHandler`, or
102 subclasses of :class:`BaseHandler` (in which case it must be possible to call
114 Beginning in Python 2.3, a :class:`BaseHandler` subclass may also change its
194 The :class:`OpenerDirector` class opens URLs via :class:`BaseHandler`\ s chained
198 .. class:: BaseHandler()
457 *handler* should be an instance of :class:`BaseHandler`. The following
531 BaseHandler Objects
534 :class:`BaseHandler` objects provide a couple of methods that are directly
539 .. method:: BaseHandler.add_parent(director)
544 .. method:: BaseHandler.close()
[all …]
/external/python/cpython3/Doc/library/
Dwsgiref.rst515 This class is a subclass of :class:`BaseHandler`. It overrides the
526 .. class:: BaseHandler()
532 :class:`BaseHandler` instances have only one method intended for external use:
535 .. method:: BaseHandler.run(app)
539 All of the other :class:`BaseHandler` methods are invoked by this method in the
546 .. method:: BaseHandler._write(data)
549 method actually transmits the data; :class:`BaseHandler` just separates write
554 .. method:: BaseHandler._flush()
560 .. method:: BaseHandler.get_stdin()
566 .. method:: BaseHandler.get_stderr()
[all …]
Durllib.request.rst133 order given. *handler*\s can be either instances of :class:`BaseHandler`, or
134 subclasses of :class:`BaseHandler` (in which case it must be possible to call
145 A :class:`BaseHandler` subclass may also change its :attr:`handler_order`
268 The :class:`OpenerDirector` class opens URLs via :class:`BaseHandler`\ s chained
272 .. class:: BaseHandler()
608 *handler* should be an instance of :class:`BaseHandler`. The following methods
639 .. |protocol_open| replace:: :meth:`BaseHandler.<protocol>_open`
640 .. |http_error_nnn| replace:: :meth:`BaseHandler.http_error_\<nnn\>`
641 .. |protocol_request| replace:: :meth:`BaseHandler.<protocol>_request`
642 .. |protocol_response| replace:: :meth:`BaseHandler.<protocol>_response`
[all …]
Dunittest.mock.rst2412 'BaseHandler',
/external/python/cpython2/Lib/
Durllib2.py518 class BaseHandler: class
537 class HTTPErrorProcessor(BaseHandler):
554 class HTTPDefaultErrorHandler(BaseHandler):
558 class HTTPRedirectHandler(BaseHandler):
735 class ProxyHandler(BaseHandler):
902 class HTTPBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler):
913 class ProxyBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler):
1085 class HTTPDigestAuthHandler(BaseHandler, AbstractDigestAuthHandler):
1103 class ProxyDigestAuthHandler(BaseHandler, AbstractDigestAuthHandler):
1115 class AbstractHTTPHandler(BaseHandler):
[all …]
/external/python/cpython3/Lib/urllib/
Drequest.py603 class BaseHandler: class
622 class HTTPErrorProcessor(BaseHandler):
639 class HTTPDefaultErrorHandler(BaseHandler):
643 class HTTPRedirectHandler(BaseHandler):
785 class ProxyHandler(BaseHandler):
1044 class HTTPBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler):
1055 class ProxyBasicAuthHandler(AbstractBasicAuthHandler, BaseHandler):
1220 class HTTPDigestAuthHandler(BaseHandler, AbstractDigestAuthHandler):
1238 class ProxyDigestAuthHandler(BaseHandler, AbstractDigestAuthHandler):
1250 class AbstractHTTPHandler(BaseHandler):
[all …]
/external/python/cpython2/Lib/wsgiref/
Dhandlers.py42 class BaseHandler: class
358 class SimpleHandler(BaseHandler):
/external/python/cpython3/Lib/wsgiref/
Dhandlers.py94 class BaseHandler: class
434 class SimpleHandler(BaseHandler):
/external/python/cpython2/Lib/test/
Dtest_wsgiref.py4 from wsgiref.handlers import BaseHandler, BaseCGIHandler
420 h = BaseHandler()
Dtest_urllib2.py411 class MockHTTPHandler(urllib2.BaseHandler):
1269 class FooHandler(urllib2.BaseHandler):
1271 class BarHandler(urllib2.BaseHandler):
/external/python/cpython3/Lib/test/
Dtest_wsgiref.py8 from wsgiref.handlers import BaseHandler, BaseCGIHandler, SimpleHandler
622 h = BaseHandler()
Dtest_urllib2.py468 class MockHTTPHandler(urllib.request.BaseHandler):
508 class MockHTTPHandlerCheckAuth(urllib.request.BaseHandler):
1749 class FooHandler(urllib.request.BaseHandler):
1753 class BarHandler(urllib.request.BaseHandler):
/external/python/cpython3/Misc/NEWS.d/
D3.8.0b1.rst1231 Fix double exceptions in :class:`wsgiref.handlers.BaseHandler` by calling
1232 its :meth:`~wsgiref.handlers.BaseHandler.close` method only when no
D3.8.0a4.rst718 :class:`wsgiref.handlers.BaseHandler` now handles abrupt client connection
D3.5.2rc1.rst935 Avoid potential ValueError in BaseHandler.start_response. Initial patch by
D3.6.0a1.rst1518 Avoid potential ValueError in BaseHandler.start_response. Initial patch by
/external/python/six/documentation/
Dindex.rst780 * :class:`py2:urllib2.BaseHandler`