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 status and body_text methods to built-in rejections #1612

Merged
merged 2 commits into from Dec 2, 2022

Conversation

davidpdrsn
Copy link
Member

This should make it easier to customize a built-in rejection while preserving either the status or body.

Fixes #1611

This should make it easier to customize a built-in rejection while
preserving either the status or body.

Fixes #1611
@davidpdrsn davidpdrsn merged commit 7e13d69 into main Dec 2, 2022
@davidpdrsn davidpdrsn deleted the rejection-status-body-text branch December 2, 2022 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide access to rejection body strings as used in impl IntoResponse
2 participants