Permute an accept header string.