added HEAD as http method