Lines Matching refs:Morsel
27 in Cookie name (as :attr:`~Morsel.key`).
49 are :class:`Morsel` instances. Note that upon setting a key to a value, the
50 value is first converted to a :class:`Morsel` containing the key and the value.
97 *header* are sent to each :class:`Morsel`'s :meth:`output` method. *sep* is used
113 found there as :class:`Morsel`\ s. If it is a dictionary, it is equivalent to::
121 Morsel Objects
125 .. class:: Morsel
148 :meth:`~Morsel.__eq__` now takes :attr:`~Morsel.key` and :attr:`~Morsel.value`
152 Attributes :attr:`~Morsel.key`, :attr:`~Morsel.value` and
153 :attr:`~Morsel.coded_value` are read-only. Use :meth:`~Morsel.set` for
157 .. attribute:: Morsel.value
162 .. attribute:: Morsel.coded_value
167 .. attribute:: Morsel.key
172 .. method:: Morsel.set(key, value, coded_value)
177 .. method:: Morsel.isReservedKey(K)
179 Whether *K* is a member of the set of keys of a :class:`Morsel`.
182 .. method:: Morsel.output(attrs=None, header='Set-Cookie:')
184 Return a string representation of the Morsel, suitable to be sent as an HTTP
190 .. method:: Morsel.js_output(attrs=None)
198 .. method:: Morsel.OutputString(attrs=None)
200 Return a string representing the Morsel, without any surrounding HTTP or
206 .. method:: Morsel.update(values)
208 Update the values in the Morsel dictionary with the values in the dictionary
216 .. method:: Morsel.copy(value)
218 Return a shallow copy of the Morsel object.
221 return a Morsel object instead of a dict.
224 .. method:: Morsel.setdefault(key, value=None)