Вот этот код: Код (Text): <?php $urlAISlocations = 'https://meri.digitraffic.fi/api/ais/v1/locations'; $opts = array( 'http'=>array( 'method'=> "GET", 'header'=> " Accept-Encoding:gzip, deflate, br\r\n Cache-Control:no-cache\r\n Connection:keep-alive\r\n", ) ); $context = stream_context_create($opts); $AISlocations = gzdecode(file_get_contents($urlAISlocations,false,$context)); print_r($http_response_header); ?> получает требуемое под PHP8, но обламывается с 406 Not Acceptable под PHP7. Проверялось на двух машинах с PHP8 и одной с PHP7. Все машины в одной сети, и ходят наружу через один и тот же шлюз. В чём разница?