Home
last modified time | relevance | path

Searched refs:requote (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Lib/email/
Dmessage.py571 def set_param(self, param, value, header='Content-Type', requote=True, argument
598 ctype = _formatparam(param, value, requote)
601 [ctype, _formatparam(param, value, requote)])
605 unquote=requote):
608 append_param = _formatparam(param, value, requote)
610 append_param = _formatparam(old_param, old_value, requote)
619 def del_param(self, param, header='content-type', requote=True): argument
630 for p, v in self.get_params(header=header, unquote=requote):
633 new_ctype = _formatparam(p, v, requote)
636 _formatparam(p, v, requote)])
[all …]
/external/python/cpython3/Lib/email/
Dmessage.py701 def set_param(self, param, value, header='Content-Type', requote=True, argument
728 ctype = _formatparam(param, value, requote)
731 [ctype, _formatparam(param, value, requote)])
735 unquote=requote):
738 append_param = _formatparam(param, value, requote)
740 append_param = _formatparam(old_param, old_value, requote)
752 def del_param(self, param, header='content-type', requote=True): argument
763 for p, v in self.get_params(header=header, unquote=requote):
766 new_ctype = _formatparam(p, v, requote)
769 _formatparam(p, v, requote)])
[all …]
/external/python/cpython2/Doc/library/
Demail.message.rst425 .. method:: set_param(param, value[, header[, requote[, charset[, language]]]])
435 unless optional *requote* is ``False`` (the default is ``True``).
445 .. method:: del_param(param[, header[, requote]])
449 its value. All values will be quoted as necessary unless *requote* is
456 .. method:: set_type(type[, header][, requote])
463 the parameters in place. If *requote* is ``False``, this leaves the
/external/python/cpython3/Doc/library/
Demail.compat32-message.rst530 .. method:: set_param(param, value, header='Content-Type', requote=True, \
541 unless optional *requote* is ``False`` (the default is ``True``).
555 .. method:: del_param(param, header='content-type', requote=True)
559 its value. All values will be quoted as necessary unless *requote* is
564 .. method:: set_type(type, header='Content-Type', requote=True)
571 the parameters in place. If *requote* is ``False``, this leaves the
Demail.message.rst356 .. method:: set_param(param, value, header='Content-Type', requote=True, \
377 Use of the *requote* parameter with :class:`EmailMessage` objects is
387 .. method:: del_param(param, header='content-type', requote=True)
394 Use of the *requote* parameter with :class:`EmailMessage` objects is
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py5023 msg.set_param('title', 'bar', requote=False)
5026 msg.set_param('title', "(bar)bell", requote=False)