Lines Matching refs:BaseHeader
27 :class:`.HeaderRegistry` and have :class:`.BaseHeader` as their last base
42 .. class:: BaseHeader(name, value)
44 *name* and *value* are passed to ``BaseHeader`` from the
70 ``name``. A value of ``None`` means unlimited. The ``BaseHeader`` value
74 ``BaseHeader`` also provides the following method, which is called by the
88 ``BaseHeader`` by itself cannot be used to create a header object. It
90 produce the header object. Specifically, ``BaseHeader`` requires that
105 ``BaseHeader``'s ``__new__`` then creates the header instance, and calls its
108 ``BaseHeader`` itself. Such an ``init`` method should look like this::
116 ``kw`` (and ``args``) passed to the ``BaseHeader`` ``init`` method.
236 variant, :attr:`~.BaseHeader.max_count` is set to 1.
308 .. class:: HeaderRegistry(base_class=BaseHeader, \