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.
99 *header* are sent to each :class:`Morsel`'s :meth:`output` method. *sep* is used
115 found there as :class:`Morsel`\ s. If it is a dictionary, it is equivalent to::
123 Morsel Objects
127 .. class:: Morsel
155 :meth:`~Morsel.__eq__` now takes :attr:`~Morsel.key` and :attr:`~Morsel.value`
159 Attributes :attr:`~Morsel.key`, :attr:`~Morsel.value` and
160 :attr:`~Morsel.coded_value` are read-only. Use :meth:`~Morsel.set` for
167 .. attribute:: Morsel.value
172 .. attribute:: Morsel.coded_value
177 .. attribute:: Morsel.key
182 .. method:: Morsel.set(key, value, coded_value)
187 .. method:: Morsel.isReservedKey(K)
189 Whether *K* is a member of the set of keys of a :class:`Morsel`.
192 .. method:: Morsel.output(attrs=None, header='Set-Cookie:')
194 Return a string representation of the Morsel, suitable to be sent as an HTTP
200 .. method:: Morsel.js_output(attrs=None)
208 .. method:: Morsel.OutputString(attrs=None)
210 Return a string representing the Morsel, without any surrounding HTTP or
216 .. method:: Morsel.update(values)
218 Update the values in the Morsel dictionary with the values in the dictionary
226 .. method:: Morsel.copy(value)
228 Return a shallow copy of the Morsel object.
231 return a Morsel object instead of a dict.
234 .. method:: Morsel.setdefault(key, value=None)