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 sites for checking 304 status (e.g. http://last-modified.com/en/ ) use 
HEAD for checking.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8161a375-d0aa-4c1d-9370-f7aa4d4a7c67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to