public function setContentLanguageHeader(string $header)
    {
        if (Validation::isValidContentLanguage($header)) {
            $this->contentLanguageHeader = $header;
        } else {
            throw new CustomException('Invalid language');
        }
    }