Lines Matching refs:BaseHandler
133 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`
695 BaseHandler Objects
698 :class:`BaseHandler` objects provide a couple of methods that are directly
703 .. method:: BaseHandler.add_parent(director)
708 .. method:: BaseHandler.close()
713 :class:`BaseHandler`.
722 .. attribute:: BaseHandler.parent
728 .. method:: BaseHandler.default_open(req)
730 This method is *not* defined in :class:`BaseHandler`, but subclasses should
744 .. method:: BaseHandler.<protocol>_open(req)
747 This method is *not* defined in :class:`BaseHandler`, but subclasses should
754 .. method:: BaseHandler.unknown_open(req)
756 This method is *not* defined in :class:`BaseHandler`, but subclasses should
765 .. method:: BaseHandler.http_error_default(req, fp, code, msg, hdrs)
767 This method is *not* defined in :class:`BaseHandler`, but subclasses should
782 .. method:: BaseHandler.http_error_<nnn>(req, fp, code, msg, hdrs)
785 in :class:`BaseHandler`, but will be called, if it exists, on an instance of a
795 .. method:: BaseHandler.<protocol>_request(req)
798 This method is *not* defined in :class:`BaseHandler`, but subclasses should
807 .. method:: BaseHandler.<protocol>_response(req, response)
810 This method is *not* defined in :class:`BaseHandler`, but subclasses should