Strawberry-django does not seem to support chunked transfers when using multipart uploads.
Thanks to @enisdanjo (ardatan/graphql-mesh#7701) :
You can reproduce the issue by appending Transfer-Encoding: chunked to the upload request.
curl localhost:8000 \ -H 'Transfer-Encoding: chunked' \ -F operations='{ "query": "mutation ($file: Upload!) { uploadFile(file: $file) { id } }", "variables": { "file": null } }' \ -F map='{ "0": ["variables.file"] }' \ -F [email protected]
This is problematic when using Strawberry after a proxy or a gateway that cannot calculate the content-length
.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too