As ``toLowerCase()`` is now called twice on ``header`` I'd move the call here.