On the basis of Bitrix I do API for the application. Is it possible to set the response headers from the server in the addressed file? In the bitrix documentation I found only:
use Bitrix\Main\Web\HttpClient; $httpClient = new HttpClient(); $httpClient->setHeader('Content-Type', 'application/json', true);
But this is for requests from the server. Is there any method of installing response headers on a specific page or will you have to configure everything on the server?