Author r.david.murray
Recipients Dmitry.Jemerov, r.david.murray
Date 2010-07-24.00:48:45
SpamBayes Score 0.23405
Marked as misclassified No
Message-id <1279932528.75.0.194774503134.issue9360@psf.upfronthosting.co.za>
In-reply-to
Content
Correct, if by 'article content' you mean what is returned by the article command.  So I think it is necessary to be able to get bytes for two commands: article and body.  Then for symmetry it should also be possible to get bytes from the head command.  (It is actually possible for headers to include 8bit data, but it is a violation of the RFC and both rare outside of spam and impossible to handle sensibly in most cases...and it may be the case that most if not all nttpservers sanitize such headers, I don't have any experience in that area.)

On the other hand, this tells me that a possible use case I had been wondering about in email is in fact a valid concern: being able to parse a data stream that contains both strings and bytes :(  That is, one might use nntplib in a mode where you pull the headers as text and the body as bytes and want to hand it off to email to build a Message object from those parts.
History
Date User Action Args
2010-07-24 00:48:48r.david.murraysetrecipients: + r.david.murray, Dmitry.Jemerov
2010-07-24 00:48:48r.david.murraysetmessageid: <1279932528.75.0.194774503134.issue9360@psf.upfronthosting.co.za>
2010-07-24 00:48:46r.david.murraylinkissue9360 messages
2010-07-24 00:48:46r.david.murraycreate