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.

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.

1 participant