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

[proposal] Add 'ContentDisposition' to parameters sent to s3 client #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ashishmadeti
Copy link

I was not able to pass on the Content-Disposition header in any way to the s3 client (I tried with adding headers['content-disposition'] but it did not work)

After applying this patch, ContentDisposition can be added the object passed in as the first parameter to upload() function of skipper. This is working as expected

@sailsbot
Copy link
Collaborator

Hi @ashishmadeti! It looks like the title of your pull request doesn’t quite match our guidelines yet. Would you please edit your pull request's title so that it begins with [proposal], [patch], [fixes #<issue number>], [implements #<other PR number>], or [misc]? Once you've edited it, I'll take another look!

@ashishmadeti ashishmadeti changed the title Add 'ContentDisposition' to parameters sent to s3 client [proposal] Add 'ContentDisposition' to parameters sent to s3 client May 11, 2021
@sailsbot
Copy link
Collaborator

Thanks for submitting this pull request, @ashishmadeti! We'll look at it ASAP.

In the mean time, here are some ways you can help speed things along:

  • discuss this pull request with other contributors and get their feedback. (Reactions and comments can help us make better decisions, anticipate compatibility problems, and prevent bugs.)
  • ask another JavaScript developer to review the files changed in this pull request. (Peer reviews definitely don't guarantee perfection, but they help catch mistakes and enourage collaborative thinking. Code reviews are so useful that some open source projects require a minimum number of reviews before even considering a merge!)
  • if appropriate, ask your business to sponsor your pull request. (Open source is our passion, and our core maintainers volunteer many of their nights and weekends working on Sails. But you only get so many nights and weekends in life, and stuff gets done a lot faster when you can work on it during normal daylight hours.)
  • make sure you've answered the "why?" (Before we can review and merge a pull request, we feel it is important to fully understand the use case: the human reason these changes are important for you, your team, or your organization.)

Please remember: never post in a public forum if you believe you've found a genuine security vulnerability. Instead, disclose it responsibly.

For help with questions about Sails, click here.

@ashishmadeti
Copy link
Author

Looks like the build failure is due to missing credentials. It is working fine on my system.

Let me know if I can help in any way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants