The documentation for `http-request set-header` is a little ambiguous about whether it removes all occurrences of the header if it previously existed or just the first one. From experimentation it appears it is all occurrences (which I think is preferable).
May I suggest rewording "except that the header name is first removed if it existed" to "except that all occurrences of the header name are first removed if any existed"?

