Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #26 from skelpo/master
Browse files Browse the repository at this point in the history
Added the 'x-amz-acl' header
  • Loading branch information
BrettRToomey authored Mar 16, 2018
2 parents 35516e1 + 22aea30 commit 5ce8efa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/S3/S3.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public struct S3 {
let headers = try signer.sign(
payload: .bytes(bytes),
method: .put,
path: path
//TODO(Brett): headers & AccessControlList
path: path,
headers: ["x-amz-acl": access.rawValue]
)

let response = try EngineClient.factory.put(url, headers, Body.data(bytes))
Expand Down

0 comments on commit 5ce8efa

Please sign in to comment.