Mobile app version of vmapp.org
Login or Join
Megan663

: Should we allow HEAD requests? Our web application is predominantly read-only. As such we only allow GET requests. However, we regularly get errors in our logs because of user agents making HEAD

@Megan663

Posted in: #HttpHeaders #SearchEngines #WebCrawlers #Webserver

Our web application is predominantly read-only. As such we only allow GET requests. However, we regularly get errors in our logs because of user agents making HEAD requests. I've seen these come from Squid proxy servers and bots from AddThis, Google and Bing.

My understanding is that most search engines will make GET requests when crawling sites so is there a genuine reason for allowing HEAD requests?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Megan663

1 Comments

Sorted by latest first Latest Oldest Best

 

@Karen161

Some search engines and bots send HEAD request to pages before sending the GET request for reasons like:


Checking if the page size has changed
Checking the last modified date
etc. (Any other info the head would give them!)


This would help large crawlers save a lot of bandwidth if they know a page has not been changed meanwhile and they don't have to crawl it.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme