I bet google is checking web pages via HTTP HEAD and HTTP GET request methods. So I'm thinking I should also allow proper header output for downloadable files from my website via HTTP HEAD request but no documentation tells me the proper way to go.Currently this is my HTTP header for a downloadable file when one requests it from my server with either a GET or HEAD request method: HTTP/1.1 200 OKDate: Sun, 06 Sep 2015 06:11:29 GMTServer: ApacheSet-Cookie: CC=something;path=/;domain=example.com;expires=Tue, 06 Oct 2015 06:11:29 GMTX-Robots-Tag: noindexcache-control: max-age=864000,must-revalidateLast-Modified: Sun, 06 Sep 2015 02:39:19 GMTcontent-disposition: attachment; filename=HQ_Photo8.jpg.gzContent-Length: 251085X-Frame-Options: DENYAccept-Ranges: bytesContent-Type: application/gzipWhat headers should I add or remove to comply to standards when someone requests the download via a HEAD request method?I read with a standard html document that when one requests it with a HEAD method that the content-length header should be removed, but since this is a downloadable file I'm dealing with, I think its more involved.Any ideas?
requesting for downloadable files via HEAD
http;http headers;download;headers