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

feat: add tip for exposing headers etags #725

Merged
merged 1 commit into from
Jan 13, 2020
Merged

feat: add tip for exposing headers etags #725

merged 1 commit into from
Jan 13, 2020

Conversation

weiyie
Copy link
Contributor

@weiyie weiyie commented Jan 6, 2020

No description provided.

@@ -239,6 +239,10 @@ proto._uploadPart = async function _uploadPart(name, uploadId, partNo, data, opt

const result = await this.request(params);

if (!result.res.headers.etag) {
throw new Error('Please set the etag of expose-headers in OSS \n https://help.aliyun.com/document_detail/32069.html?spm=a2c4g.11186623.6.1248.46161c62Plaawd');
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

去掉 spm

@PeterRao PeterRao merged commit 9eb368a into ali-sdk:develop Jan 13, 2020
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

Successfully merging this pull request may close these issues.

2 participants