Skip to content

Add status and body_text methods to built-in rejections - #1612

Merged
davidpdrsn merged 2 commits into
mainfrom
rejection-status-body-text
Dec 2, 2022
Merged

Add status and body_text methods to built-in rejections#1612
davidpdrsn merged 2 commits into
mainfrom
rejection-status-body-text

Conversation

@davidpdrsn

Copy link
Copy Markdown
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