Registers a typed handler body for a HEAD resource defined by the T class.
HEAD
A class T must be annotated with io.ktor.resources.Resource.
Report a problem
receives an instance of the typed resource T as the first parameter.