public function getHeader($key)
    {
        foreach ($this->headers as $header => $content) {
            if (strtolower($key) === strtolower($header)) {
                return $content;
            }
        }
        return null;
    }