public function changeHeaders(callable $callback): void
    {
        foreach ($this->headers as $name => $value) {
            $this->headers[$name] = call_user_func($callback, $name, $value);
        }
    }