When header['Accept'] is nil. Should not raise error for split method. u...

...se try instead.