    def __setitem__(self, key: str, value: str) -> None:
        """
        Set the header ``key`` to ``value``, removing any duplicate entries.
        Retains insertion order.
        """
Set the header ``key`` to ``value``, removing any duplicate entries.
Retains insertion order.
src/bentoml/_internal/context.py