Shouldn't this use a case insensitive regex? Also, do header values not allow international characters?