You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have had this issue reported a number of times; one of the boto maintainers gave an in depth explanation of the complexity of the issue here. We currently have an open PR for an experimental opt in header to solve this issue.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Describe the bug
From RFC: https://tools.ietf.org/html/rfc7231#section-5.1.1
Requirement for clients:
The current code always returns true, even with an empty message body.
Expected Behavior
Change to self._expect_header_set = headers.get('Content-Length') != '0'
Current Behavior
botocore will incorrectly generate a 100-continuation.
Reproduction Steps
Had this bug with minio. I don't have a repro local, but did cite the RFC.
Possible Solution
I'll submit a PR. It's a simple change.
Additional Information/Context
No response
SDK version used
develop
Environment details (OS name and version, etc.)
macos, python 3.9
The text was updated successfully, but these errors were encountered: