Re: django.views.decorators.http.condition decorator

2014-10-20 Thread Anton Novosyolov
Opened, https://code.djangoproject.com/ticket/23695 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this gr

Re: django.views.decorators.http.condition decorator

2014-10-17 Thread Collin Anderson
I'm not an http caching expert, but what you say seems right. Want to open a ticket? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@go

django.views.decorators.http.condition decorator

2014-10-17 Thread Anton Novosyolov
I have a question about this part: elif (not if_none_match and request.method == "GET" and res_last_modified > and if_modified_since and res_last_modified <= if_modified_since): > response = HttpResponseNotModified() If I don't use etag, and request method is HEAD then 200 is returned. Some