REST API very slow with curl and python requests


I want to use the Volumio REST API and I tested it with python requests and bash curl.

When I make a resquest with the browser (Firefox, Chrome) response is immediate:

when I do the same with curl bash command (copyed from chrome develelopper tool), the response take 5 or more seconds (same with python GET requests):
how can I make a REST API GET request with immediate response in python ?

curl 'http://volumio.local/api/v1/commands/?cmd=volume&volume=mute' \
  -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9' \
  -H 'Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7' \
  -H 'Cache-Control: max-age=0' \
  -H 'Cookie: paddlejs_campaign_referrer=volumio.local' \
  -H 'If-None-Match: W/"32-pRscOSnQxtDhV7GdWLhFfNXNeuo"' \
  -H 'Proxy-Connection: keep-alive' \
  -H 'Upgrade-Insecure-Requests: 1' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36' \
  --compressed \