|
|
@@ -6,9 +6,11 @@ namespace App\Service\ApiLegacy;
|
|
|
|
|
|
use App\Entity\Access\Access;
|
|
|
use App\Service\Rest\ApiRequestService;
|
|
|
+use HttpResponse;
|
|
|
use JetBrains\PhpStorm\Pure;
|
|
|
use Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenManagerInterface;
|
|
|
use Symfony\Bundle\SecurityBundle\Security;
|
|
|
+use Symfony\Component\HttpClient\Response\TraceableResponse;
|
|
|
use Symfony\Component\HttpKernel\Exception\HttpException;
|
|
|
use Symfony\Component\Security\Core\Authentication\Token\NullToken;
|
|
|
use Symfony\Component\Security\Core\Authentication\Token\SwitchUserToken;
|
|
|
@@ -45,7 +47,6 @@ class ApiLegacyRequestService extends ApiRequestService
|
|
|
$headers = [
|
|
|
'Accept' => '*/*',
|
|
|
'Charset' => 'UTF-8',
|
|
|
- 'Accept-Encoding' => 'gzip, deflate, br',
|
|
|
'Content-Type' => 'application/ld+json',
|
|
|
];
|
|
|
|