public function withHeaders(array $headers): Request
    {
        $cloned = clone $this;

        foreach ($headers as $name => $value) {
            $cloned = $cloned->withHeader($name, $value);
        }

        return $cloned;
    }