Open khataev opened 3 years ago
I've noticed, that Amazon API returns 403 response when trying to request only headers:
curl "https:/..." --head HTTP/1.1 403 Forbidden x-amz-request-id: 9A0D5596C066E400 x-amz-id-2: Cb1y8kEjyPKd3JzpaxV8cGAsXvA9tzlLaCy4l/HP1qBfaRMIR9Q/da0tnpHUfItbyH8P7WmokkI= Content-Type: application/xml Date: Tue, 23 Feb 2021 07:01:38 GMT Server: AmazonS3
While, ordinary request works fine
curl "https://..." --output file.docx % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 38010 100 38010 0 0 123k 0 --:--:-- --:--:-- --:--:-- 123k
What is the reason for this?
same problem
I've noticed, that Amazon API returns 403 response when trying to request only headers:
While, ordinary request works fine
What is the reason for this?