Skip to content

Migrate some tests and fix fallback for empty optional bodies #47377

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

Merged
merged 2 commits into from
Mar 27, 2023

Conversation

captainsafia
Copy link
Member

Part of #47345.

  • Fixed a bug where allowEmpty option wasn't respected if request had IRequestBodyDetectionFeature.HasBody set to false.

Copy link
Member

@mitchdenny mitchdenny left a comment

Choose a reason for hiding this comment

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

LGTM, although I agree with @adityamandaleeka that the return can be simplified.

@captainsafia captainsafia enabled auto-merge (squash) March 27, 2023 00:37
@captainsafia captainsafia merged commit 09caee6 into main Mar 27, 2023
@captainsafia captainsafia deleted the safia/rdg-test-migrate-2 branch March 27, 2023 01:56
@ghost ghost added this to the 8.0-preview4 milestone Mar 27, 2023
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants