You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to give the public access to file uploads to s3 ?
I tried adding headers = curl_slist_append(headers, "x-amz-ac: public-read") in private static func prepare(_ access: Access, method: String, bucket: String, region: String, file: String, contentType: String) throws -> (CURL, UnsafeMutablePointer<curl_slist>).
But with above changes file uploads are failing. Please help
The text was updated successfully, but these errors were encountered:
How to give the public access to file uploads to s3 ?
I tried adding
headers = curl_slist_append(headers, "x-amz-ac: public-read")
inprivate static func prepare(_ access: Access, method: String, bucket: String, region: String, file: String, contentType: String) throws -> (CURL, UnsafeMutablePointer<curl_slist>)
.But with above changes file uploads are failing. Please help
The text was updated successfully, but these errors were encountered: