a fix for HEAD request.
Merge pull request #1 from SomN/gh-pages

a fix for HEAD request.