    def setdefault(self, key: str, value: str) -> str:
        """
        If the header ``key`` does not exist, then set it to ``value``.
        Returns the header value.
        """
If the header ``key`` does not exist, then set it to ``value``.
Returns the header value.
src/bentoml/_internal/context.py