ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved