private function getHeader(string $name): string
    {
        $result = "";
        
        if (Arrays::hasElement($this->headers, $name)) {
            $result = $this->headers[$name];
        }
        
        return $result;
    }