[Web-SIG] Status code, status header
Phillip J. Eby
pje at telecommunity.com
Tue Aug 31 17:55:24 CEST 2004
At 11:43 AM 8/31/04 -0400, A.M. Kuchling wrote:
>On Tue, Aug 31, 2004 at 11:29:09AM -0400, Phillip J. Eby wrote:
> > At 10:01 PM 8/30/04 -0500, Ian Bicking wrote:
> > >After a little thought, I'm -1 on a status header, even with
> email.Message.
> >
> > I think email.Message is also dead, due to its absence in Python versions
> > prior to 2.2.
>
>Do note that rfc822.py is on the road to deprecation, presumably in
>favour of email.Message. If email.Message has problems, therefore,
>you should try to fix them.
It doesn't actually have any serious problems w/respect to WSGI usage, just
stuff we don't need.
However, despite our change to a 2.2.2 version target, Jython has since
then emerged as a use case, so I believe we're moving back to at least a
2.1 version target. IIRC, 'email.Message' isn't available in 2.1.
Anyway, the alternative is "list of (name,value) tuples", not anything from
the rfc822 module.
More information about the Web-SIG
mailing list