Issue 920037: email/init.py: Parse headersonly (original) (raw)

Issue920037

Created on 2004-03-20 12:18 by cjmayo, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch.txt cjmayo,2004-03-20 12:18 diff -u for email/__init__.py
Messages (2)
msg45609 - (view) Author: Chris Mayo (cjmayo) Date: 2004-03-20 12:18
The attached simple patch brings the useful headersonly parameter up to the message_from_string function to optionally parse the headers of messages without bodies.
msg45610 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2004-10-09 20:43
Logged In: YES user_id=12800 message_from_string() and message_from_file() are conveniences only and I'd rather not clutter up their API. It's easy enough to instantiate a parser directly so I don't think this patch adds enough value.
History
Date User Action Args
2022-04-11 14:56:03 admin set github: 40056
2004-03-20 12🔞32 cjmayo create