Jeremy Hylton <[EMAIL PROTECTED]> wrote: > Hmmm. Should we being using the email package to parse HTTP headers? > RFC 2616 says that HTTP headers follow the "same generic format" as > RFC 822, but RFC 822 says headers are ASCII and RFC 2616 says headers > are arbitrary 8-bit values. You'd need to parse them differently.
It would be good to have a good RFC 2616 header parser in the standard library. I believe every Python web framework implements it's own. Neil _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
