Set the headers correctly.