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

Fix error response builder, missing Content-Type header #808

Merged
merged 2 commits into from
May 11, 2024

Conversation

Mr-Leshiy
Copy link
Contributor

Fixed an issue of missing Content-Type header for the ResponseError types:

  • Fixed a default implementation of the ResponseError::as_response fn
  • Fixed an implementation of the StaticFileError::as_response fn

@sunli829 sunli829 merged commit 40b2696 into poem-web:master May 11, 2024
7 checks passed
@sunli829
Copy link
Collaborator

thanks 🙂

@Mr-Leshiy Mr-Leshiy deleted the fix/response_error_builder branch May 11, 2024 17:05
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.

None yet

2 participants