[python-upload-file-s3-multipart] impossible to make it work
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
Start by comparing the python-upload-file-s3-multipart example with the reported hand-written function and its handler configuration. Inspect how the multipart body reaches the StreamingFormDataParser and verify the binary data remains intact when saved locally or uploaded to S3; done means the resulting document is valid.
Written by the indexing model from the issue text.
Description
Hello, i have try to implement the code from this example.
I don't have the lib serverless, i have made a function by hand and call my handler on the configuration of the function.
When my function receive the mulitpart/body, i have no error while using the StreamingFormDataParser but every time when i save to a local file or upload it to a S3 i always have an invalid document.
I have taken the time to inspect the content of the body, and the binary data of my file is passed as str so encoded to UTF8 to my function but the binary contain invalid ASCII char so i loose some part of the data resulting in my corrupted file.
Am i doing something wrong ?
Thanks for you help !
- Dominant language
- Go
- Stars
- 64
- Forks
- 14
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from scaleway/serverless-examples
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
scaleway/serverless-examples#115 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
All issues in scaleway/serverless-examples
Similar issues
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
blinklabs-io/bursa#904 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
yanet-platform/ipfw-go#129 ·
-
bug confmap/provider/googlesecretmanagerprovider needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
open-telemetry/opentelemetry-collector-contrib#51273 · 2 comments ·
-
bug: AI Gateway client filter lists "Unknown" twice when NULL and literal Unknown clients coexist Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 90/100