-
I need to implement multipart upload file to S3 with presigned part URLs, for each part I need to pass file in request body by the PUT method, but as I understand it, async-http expects an array of strings for the body. Is it possible to pass a file inside the request body and how to do it? |
Beta Was this translation helpful? Give feedback.
Answered by
abozhiy
Sep 25, 2023
Replies: 1 comment 1 reply
-
I think I've found solution: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
olleolleolle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I've found solution:
::Protocol::HTTP::Body::File.open(part_path)