#717: If-Modified-Since checked for exact match
---------------------------------------------------------------+------------
               Reporter:  Maniac <Maniac@…>                    |         Owner: 
 adrian                                           
                 Status:  reopened                             |     Milestone: 
                                                  
              Component:  HTTP handling                        |       Version: 
                                                  
             Resolution:                                       |      Keywords: 
 http middleware conditional get if-modified-since
           Triage Stage:  Accepted                             |     Has patch: 
 1                                                
    Needs documentation:  0                                    |   Needs tests: 
 1                                                
Patch needs improvement:  1                                    |  
---------------------------------------------------------------+------------

Comment (by aaugustin):

 New patch:
 - builds upon julianb's last patch, but does much less changes to
 django/views/decorators/http.py,
 - adds a `parse_http_date` function in `django.utils.http` that implements
 a RFC-compliant parsing of HTTP dates, and uses it wherever ad-hoc parsing
 was implemented; that function may be simplified with
 email.Utils.parsedate if RFC compliance is not required;
 - adds tests for !ConditionalGetMiddleware (fairly similar to the tests in
 conditional_processing, but those test the decorators and not the
 middleware),
 - fixes a related test that used UTC instead of GMT.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/717#comment:11>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to