Allow HEAD, fix logging