public function getHeaders($name)
    {
        $ucName = strtoupper($name);
        
        if (isset($this->ucNames[$ucName])) {
            $name = $this->ucNames[$ucName];
            return $this->headers[$name];
        }

        throw new HTTPException(
            sprintf('Header field is not assigned: %s', $name)
        );
    }