Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access Control Header #5

Open
keshavakarthik opened this issue Jan 11, 2018 · 0 comments
Open

Access Control Header #5

keshavakarthik opened this issue Jan 11, 2018 · 0 comments

Comments

@keshavakarthik
Copy link

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

@keshavakarthik keshavakarthik changed the title Public Read Access Access Control Header Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant