My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
          
New issue | Search
for
| Advanced search | Search tips
Issue 22: ValueError while parsing value of If-Modified-Since header with time.strptime()
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  anrienord
Closed:  Feb 2007
Type-Defect
Priority-High
Component-Components
Milestone-0.2


Sign in to add a comment
 
Reported by anrienord, Feb 27, 2007
Bug occurs during parsing this header in ResourceReader.read(). An example
from WSGI environ dict:

HTTP_IF_MODIFIED_SINCE: Wed, 31 Jan 2007 14:06:49 GMT; length=584

The problem is with "; length=584". We should check the details in RFC
2616. It seems like not well-formed header. If-Modified-Since syntax from RFC:

If-Modified-Since = "If-Modified-Since" ":" HTTP-date
Comment 1 by anrienord, Feb 28, 2007
(No comment was entered for this change.)
Status: Fixed
Sign in to add a comment

Hosted by Google Code