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

Inherit from HTMLResponse instead of Response on _TemplateResponse (#2272) #2274

Merged
merged 1 commit into from Sep 7, 2023

Conversation

sponsfreixes
Copy link
Contributor

@sponsfreixes sponsfreixes commented Sep 7, 2023

That way we can get rid of setting the media_type. Also allows using a more specific type (HTMLResponse) on applications/libraries using type annotations.

See discussion #2272.

…ncode#2272)

That way we can get rid of setting the media_type. Also allows using a more specific type (HTMLResponse) on applications/libraries using type annotations.
@Kludex
Copy link
Sponsor Member

Kludex commented Sep 7, 2023

Thanks :)

@Kludex Kludex merged commit 93074e8 into encode:master Sep 7, 2023
5 checks passed
@sponsfreixes sponsfreixes deleted the use_html_response branch September 7, 2023 04:10
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