Add support for HEAD type request

It would be nice.
But as a “hacky” solution, you could do what Erorus suggests in this post: