We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
how do we set the content disposition header?
The text was updated successfully, but these errors were encountered:
def self.azure_url_with_content_disposition(file, options) uri = URI file.azure_uri(options[:size] || file.default_style) generator = ::Azure::Storage::Core::Auth::SharedAccessSignature.new config( :storage_account_name),config(:storage_access_key) _uri = generator.signed_uri uri, false, service: 'b', resource: 'b', permissions: 'r', start: (Time.now - (5 * 60)).utc.iso8601, expiry: (Time.now + config(:expiring_time)).utc.iso8601, content_disposition: "attachment;filename=#{options[:file_name]}" _uri.to_s end
Made content disposition working with customized URL code.
Sorry, something went wrong.
No branches or pull requests
how do we set the content disposition header?
The text was updated successfully, but these errors were encountered: