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

Request body exception status code granularity #2227

Conversation

antonybstack
Copy link
Contributor

@antonybstack antonybstack commented Aug 27, 2023

This addresses the open issue, #2163, which is related to the lack of status code granularity when returning a request body client error. The non-generic status codes of the bad request exceptions returned from aspnet net servers such as Kestrel or HttpSys were not being forwarded to the client.

Fixes #2163

@Tratcher Tratcher enabled auto-merge (squash) August 30, 2023 16:30
@Tratcher Tratcher added this to the YARP 2.x milestone Aug 30, 2023
@Tratcher
Copy link
Member

Thanks, I'll deal with the unrelated test.

@Tratcher Tratcher merged commit dfb0d4d into microsoft:main Aug 30, 2023
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.

Flow the status code from BadHttpRequestException
2 participants