Searched refs:mimetools (Results 1 – 25 of 34) sorted by relevance
12
/external/python/cpython2/Lib/test/ |
D | test_mimetools.py | 7 mimetools = test_support.import_module("mimetools", deprecated=True) variable 9 msgtext1 = mimetools.Message(StringIO.StringIO( 24 mimetools.encode(i, o, enc) 27 mimetools.decode(i, o, enc) 33 nb = mimetools.choose_boundary() 38 msg = mimetools.Message(StringIO.StringIO(msgtext1))
|
D | test_multifile.py | 2 mimetools = test_support.import_module('mimetools', deprecated=True) variable 42 msg = mimetools.Message(mf)
|
D | test_urllibnet.py | 19 mimetools = test_support.import_module("mimetools", deprecated=True) variable 97 self.assertIsInstance(info_obj, mimetools.Message, 192 self.assertIsInstance(header, mimetools.Message,
|
D | test_xmlrpc.py | 8 import mimetools 872 class FailingMessageClass(mimetools.Message): 877 return mimetools.Message.__getitem__(self, key) 898 SimpleXMLRPCServer.SimpleXMLRPCRequestHandler.MessageClass = mimetools.Message
|
D | test_urllib.py | 10 import mimetools 128 self.assertIsInstance(self.returned_obj.info(), mimetools.Message) 425 self.assertIsInstance(result[1], mimetools.Message,
|
D | test_urllib2_localnet.py | 11 mimetools = test_support.import_module('mimetools', deprecated=True) variable 612 self.assertIsInstance(info_obj, mimetools.Message,
|
D | test_urllib2.py | 423 import mimetools, copy 429 msg = mimetools.Message(StringIO(self.headers)) 434 msg = mimetools.Message(StringIO("\r\n\r\n"))
|
D | test_cookielib.py | 240 import mimetools, StringIO 242 self._headers = mimetools.Message(f)
|
/external/python/cpython2/Doc/library/ |
D | mimetools.rst | 2 :mod:`mimetools` --- Tools for parsing MIME messages 5 .. module:: mimetools 11 The :mod:`email` package should be used in preference to the :mod:`mimetools` 69 Comprehensive email handling package; supersedes the :mod:`mimetools` module. 72 Provides the base class for :class:`mimetools.Message`.
|
D | multifile.rst | 163 import mimetools 171 msg = mimetools.Message(stream) 181 submsg = mimetools.Message(file) 184 mimetools.decode(file, data, submsg.getencoding())
|
D | netdata.rst | 19 mimetools.rst
|
D | mhlib.rst | 35 class is derived from :class:`mimetools.Message`. 201 :class:`mimetools.Message`:
|
D | basehttpserver.rst | 162 .. index:: single: Message (in module mimetools) 166 :class:`mimetools.Message`.
|
D | urllib.rst | 65 .. index:: module: mimetools 68 :class:`mimetools.Message` containing meta-information associated with the 77 file's type. See also the description of the :mod:`mimetools` module. 370 :class:`mimetools.Message` object containing the response headers (for remote
|
D | httplib.rst | 118 response. It is implemented using the :class:`mimetools.Message` class and 568 A :class:`mimetools.Message` instance containing the response headers.
|
D | rfc822.rst | 136 Module :mod:`mimetools`
|
D | email.rst | 17 :mod:`mimetools`, :mod:`multifile`, and other non-standard packages such as
|
/external/python/cpython2/Lib/ |
D | MimeWriter.py | 13 import mimetools 158 self._boundary = boundary or mimetools.choose_boundary()
|
D | BaseHTTPServer.py | 81 import mimetools 518 MessageClass = mimetools.Message
|
D | urllib.py | 473 import mimetypes, mimetools, email.utils 487 headers = mimetools.Message(StringIO( 512 import mimetypes, mimetools 565 headers = mimetools.Message(StringIO(headers)) 581 import mimetools 611 headers = mimetools.Message(f, 0) 850 import mimetools 855 _noheaders = mimetools.Message(StringIO(), 0)
|
D | mhlib.py | 82 import mimetools 663 class Message(mimetools.Message): 672 mimetools.Message.__init__(self, fp) 709 mimetools.decode(self.fp, output, encoding)
|
D | cgi.py | 50 import mimetools 235 headers = mimetools.Message(fp)
|
D | urllib2.py | 95 import mimetools 1362 headers = mimetools.Message(StringIO( 1428 headers = mimetools.Message(sf)
|
D | httplib.py | 80 import mimetools 255 class HTTPMessage(mimetools.Message):
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6b3.rst | 248 Silence the DeprecationWarning raised when importing mimetools in 287 Silence the DeprecationWarning of rfc822 when it is imported by mimetools 288 since mimetools itself is deprecated. Because modules are cached, all
|
12