• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/httpresponse.php
  • Класс: BitrixMainHttpResponse
  • Вызов: HttpResponse::shouldIgnoreHeaderToClone
private function shouldIgnoreHeaderToClone($headerName)
{
	return in_array(strtolower($headerName), [
		'content-encoding',
		'content-length',
		'content-type',
	], true);
}