Updated to support the HEAD HTTP method5~