Comments (3)
This is an ongoing bug on S3's side. There's an internal tracking ticket with S3 - which was already created when this aws/aws-sdk#782 came in. Until this S3 bug is resolved, we are blocked on implementing this feature since PresignedPost
uses presigned_url
.
In the meantime, I will follow up with S3 on the status.
from aws-sdk-ruby.
Thank you for the ticket. We will investigate and let you know.
from aws-sdk-ruby.
Also keen to see this fixed, so we can use it at Buildkite 🙏
Something like this sorta works to make the client side bit work, but it fails with a "400 Bad Request" from S3:
require "aws-sdk-s3"
# Aws' sdk doesn't natively support this in presigned posts, but is supported
# by the S3 API:
#
# https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-tagging.html
#
Aws::S3::PresignedPost.class_eval do
# @!method tagging(hash)
# Tagging hash to store with the uploaded object. Turns into a header:
#
# x-amz-tagging: Key=Value1&Key2=Value2&...
#
# The header will be hoisted into params for presigned forms.
#
# @param [Hash<String,String>] hash
# @return [self]
define_field(:tagging) do |hash|
with("x-amz-tagging", hash.to_query)
self
end
end
from aws-sdk-ruby.
Related Issues (20)
- aws-eventstream not available in Ruby 3.2 lambda runtime HOT 6
- presigned_url always adds content-type to signed headers HOT 3
- Aws::EC2::Resources raises `InvalidParameterCombination` when some parameters are specified HOT 2
- aws-sdk-core >= 3.192.0 may be not compatible with AWS SQS APIs in XML format HOT 8
- In Ruby, S3 get_object_attributes() breaks in aws-sdk-core v3.192.0 and newer. HOT 5
- Content Type error in BedrockRuntime client on latest aws-sdk-core version HOT 5
- CloudFront KeyValueStore can't work HOT 3
- stub_responses function in Dynamodb, how can I pass query when stub? HOT 4
- aws-sdk-s3: intermittent SignatureDoesNotMatch errors HOT 7
- get_bucket_policy in 1.52.1 results in Seahorse::Client::NetworkingError Empty or incomplete response body HOT 5
- ECS capacity errors have inconsistent behavior. HOT 2
- Access to the credit_notes? HOT 3
- SImpleDB stopped working after upgrade HOT 9
- Fix INI parsing of whitespace preceding config key HOT 7
- AWS SDK Core 3.192.0 broke older SQS gem ability to receive messages HOT 5
- Breaking Change from Minor Release in `aws-sdk-core` from 3.198.0 to latest HOT 6
- "Passing a single string to Aws::ProcessCredentials.new is insecure" now appearing when using credential_process option in an aws config HOT 4
- Client-side encryption with presigned URLs HOT 11
- Aws::Xml::Parser::ParsingError: xmlParseCharRef: invalid xmlChar value 8 HOT 12
- Getting an intermittent access denied error when running get_object HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-sdk-ruby.