Searched refs:parsebytes (Results 1 – 5 of 5) sorted by relevance
114 def parsebytes(self, text, headersonly=False): member in BytesParser130 def parsebytes(self, text, headersonly=True): member in BytesHeaderParser131 return BytesParser.parsebytes(self, text, headersonly=True)
46 return BytesParser(*args, **kws).parsebytes(s)
174 .. method:: parsebytes(bytes, headersonly=False)240 equivalent to ``BytesParser().parsebytes(s)``. Optional *_class* and
329 p.parsebytes(b'Subject: test\n\n')
231 msg = parser.parsebytes(msgdata)