Skip to content

Commit

Permalink
docs: polish it
Browse files Browse the repository at this point in the history
  • Loading branch information
c4710n committed Jul 16, 2024
1 parent d370d62 commit 203e5a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/alibaba_cloud_kit/oss/object.ex
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ defmodule AlibabaCloudKit.OSS.Object do
%{
policy: policy,
"x-oss-signature-version": x_oss_signature_version,
"x-oss-credential": x_oss_credential,
"x-oss-date": x_oss_date,
"x-oss-signature-version": x_oss_signature_version,
"x-oss-signature": x_oss_signature,
} = AlibabaCloudKit.OSS.presign_post_object(conditions, seconds_to_expire, opts)
Expand Down
4 changes: 1 addition & 3 deletions lib/alibaba_cloud_kit/signature/oss4.ex
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,7 @@ defmodule AlibabaCloudKit.Signature.OSS4 do
host: "example-bucket.oss-us-west-1.aliyuncs.com",
port: 443,
path: "/example-object",
headers: [
{"x-oss-expires", "900"}
]
query: "x-oss-expires=900"
)
opts = [
Expand Down

0 comments on commit 203e5a1

Please sign in to comment.