How to parse HTTP time header?

Kevin Ar18 kevinar18 at hotmail.com
Sat Nov 7 22:39:31 EST 2009


Basically, I'm wondering if it is part of the standard library somewhere before I code my own.

Page 20 of RFC2616 (HTTP) describes the format(s) for the time header.  It wouldn't be too difficult for me to code up a solution for the 3 standard formats, but what get's me is the little note about how some servers may still send badly format time headers. :(

So, I'm curious if this has already been done in the standard Python library?

How about in one of the Python web frameworks?  Do any have a more robust solution already done?
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091107/98715a05/attachment.html>


More information about the Python-list mailing list