>>>>> "js" == john spurling <python-dev@liveevil.com> writes: js> since the raw headers don't seem to be available in an js> rfc822.Message, i added a quick two line hack to populate a js> rawheaders member. attached is a patch to rfc822.py from the js> python 2.2.1 distribution. js> if you don't like my two line hack, consider this a request to js> provide the raw headers in some way in an rfc822.Message. Why not just use email.Message.Message? You can get the original headers from it, and the email package tries really hard to produce output identical to the input. -Barry
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4