node.js - 404 Error Due to Head request from Bot -



node.js - 404 Error Due to Head request from Bot -

i have node.js app running express.js. site works fine when requesting: https://mysite.com/ browser.

i setup grab 404 , log url requested (to see users getting confused, etc.). however, maintain getting 404 log message url https://mysite.com/

here more details on user agent triggers this:

req.headers[user-agent]: "google-http-java-client/1.17.0-rc (gzip)" req.route.method : "head"

i think bot requesting "head" instead of "get". why bot head request? should prepare allowing responses in express both head , get?

node.js express http-status-code-404 web-crawler

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -