header line-ending checks were too aggressive