Skip to content

Conversation

adev-code
Copy link

Merged in Botocore: boto/botocore#3543

Fixes HTTP 100 Continue parsing to accept responses without reason phrases, as allowed by RFC9110. The _is_100_continue_status() method currently requires exactly 3 parts (HTTP/1.1 100 Continue), which prevents botocore from recognizing valid HTTP 100 responses, causing the client to never see "100 Continue response seen". This breaks compatibility with legitimate HTTP servers that follow the current HTTP specification. The fix changes len(parts) >= 3 to len(parts) >= 2 to accept both formats (HTTP/1.1 100 Continue or HTTP/1.1 100) while maintaining backward compatibility with existing servers.

Copy link
Member

@ashovlin ashovlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add a changelog entry? I see a few 👍 on the PR, so it'd be good to mention in the changelog.

@ashovlin ashovlin self-assigned this Sep 25, 2025
@adev-code
Copy link
Author

Could we add a changelog entry? I see a few 👍 on the PR, so it'd be good to mention in the changelog.

Added in commit 4cfce15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants