W liście Mike Orr z dnia czwartek 04 lutego 2010:
> I thought that the purpose of HEAD was to tell whether a resource had
> changed, and that it had effectively been made obsolete by
> If-Modified-Since and Etag.  I suppose you could use HEAD to see if
> the resource exists or you have permission to view it, but I don't
> know of anybody that does that. In any case, these uses do not depend
> on Content-Length. The only use of prechecking Content-Length is, um,
> to see how large the response is?

Some bots do:
"HEAD /posts/3 HTTP/1.1" 405 0 "-" "WordPress.com mShots; 
http://support.wordpress.com/contact/";
"GET /posts/3 HTTP/1.1" 200 7160 "-" "WordPress.com mShots; 
http://support.wordpress.com/contact/";
"HEAD / HTTP/1.1" 405 0 "http://www.netcraft.com/survey/"; "Mozilla/4.0 
(compatible; Netcraft Web Server Survey)"

This is from a site that does not translate HEAD into GET but does check if 
request method is acceptable (and forgets to account for HEAD)

-- 
Paweł Stradomski

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to