Implemented method HEAD.