How to parse HTTP time header?
by Kevin Ar18 other posts by this author
Nov 7 2009 7:40PM messages near this date
'ascii' codec can't encode character u'\xe4' in position 4: ordinal not in range(128)
|
Re: How to parse HTTP time header?
Basically, I'm wondering if it is part of the standard library somewhere before I code my ow
n.
Page 20 of RFC2616 (HTTP) describes the format(s) for the time header. It wouldn't be too d
ifficult for me to code up a solution for the 3 standard formats, but what get's me is the l
ittle 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 d
one?
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/
Thread:
Kevin Ar18
Philip Semanchuk
Kevin Ar18
Kevin Ar18
Philip Semanchuk
|