Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add experimental environment variable to opt out of 100 continue with empty body #3123

Merged

Conversation

SamRemis
Copy link
Contributor

@SamRemis SamRemis commented Feb 16, 2024

Adds the header BOTO_EXPERIMENTAL__NO_EMPTY_CONTINUE; when enabled, we will make a best effort to inspect the size of the body and only add the 100 continue header if the body is non-empty.

Note: this feature is marked as experimental and the functionality and may be altered or removed in a minor patch without warning. Users relying on this feature should strictly pin their botocore version.

@codecov-commenter
Copy link

codecov-commenter commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8fd0160) 93.14% compared to head (0d264b0) 93.14%.
Report is 41 commits behind head on develop.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3123   +/-   ##
========================================
  Coverage    93.14%   93.14%           
========================================
  Files           66       66           
  Lines        14237    14240    +3     
========================================
+ Hits         13261    13264    +3     
  Misses         976      976           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@nateprewitt nateprewitt left a comment

Choose a reason for hiding this comment

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

We should note in the PR overview that this is not a GA feature and is subject to abrupt breaking changes.

Otherwise, this looks good, thanks @SamRemis!

This was referenced Feb 23, 2024
@SamRemis SamRemis merged commit 5d8460b into boto:develop Feb 26, 2024
34 checks passed
aws-sdk-python-automation added a commit that referenced this pull request Feb 27, 2024
* release-1.34.51:
  Bumping version to 1.34.51
  Update to latest models
  Add experimental environment variable to opt out of 100 continue with empty body (#3123)
hswong3i pushed a commit to alvistack/boto-botocore that referenced this pull request Feb 28, 2024
… empty body (boto#3123)

Add experimental flag for checking the request body before setting 100 continue
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.

3 participants