On Aug 5, 2013, at 8:41 PM, Jerry Krinock <je...@ieee.org> wrote:
> As Jens explained, your does not have a clean answer.
> 
> Doing a HEAD request is "optimal" (huge reduction in network traffic) if you 
> can accept  NO answers from a tiny percentage of sites which will won't 
> return data to a HEAD request, even though they will return data to a GET.

Apart from servers not supporting HEAD requests, also keep in mind that some 
servers don't correctly do 404 pages and instead redirect any unknown page to 
the home page (or worse, just display the home page). So your code might not 
even be able to check whether a URL exists, but only if there is a server at 
that URL. For most uses that isn't a problem, but for some it is. The web is a 
crazy place.

Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to