null check for accept header