403 forbidden error on S3 REST API HEAD request

前端 未结 4 1090
情深已故
情深已故 2021-01-04 22:15

Im trying do do a HEAD Object request to the S3 REST API but I keep getting a 403 Forbidden error, even though I have the policy setup with the necessary permissions on S3.

4条回答
  •  醉酒成梦
    2021-01-04 23:02

    Confirmed that HEAD a presigned-URL will get 403 Forbidden. If set custom headers such as content-type of the object. The 403 response will not contain the custom header and still get application/xml.

提交回复
热议问题