O'Reilly logo

Python: Essential Reference, Third Edition by David Beazley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

rfc822

The rfc822 module is used to parse email headers presented in a format defined by the Internet standards RFC-822 and RFC-2822. Headers of this form are used in a number of contexts, including mail handling and in the HTTP protocol. A collection of RFC-822 headers looks like this:

 Return-Path: <beazley@cs.uchicago.edu> Date: Sun, 15 Apr 03:18:21 -0500 (CDT) Message-Id: <199907171518.KAA24322@gargoyle.cs.uchicago.edu> Reply-To: beazley@cs.uchicago.edu References: <15065.6056.897223.775915@empire-builder.cs.uchicago.edu> <20010415041130.008D1D1D8@smack.cs.uchicago.edu> Mime-Version: 1.0 (generated by tm-edit 7.78) Content-Type: text/plain; charset=US-ASCII From: David Beazley <beazley@cs.uchicago.edu> To: techstaff@cs Subject: Modem problem ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required