Skip to content

#11902 - Fix type for twisted.web.server.Request.defaultContentType#12101

Merged
adiroiban merged 3 commits intotwisted:trunkfrom
eevelweezel:11902
Feb 1, 2024
Merged

#11902 - Fix type for twisted.web.server.Request.defaultContentType#12101
adiroiban merged 3 commits intotwisted:trunkfrom
eevelweezel:11902

Conversation

@eevelweezel
Copy link
Copy Markdown
Contributor

Scope and purpose

Fixes #11902

Set type for twisted.web.server.Request.defaultContentType to allow bytes or None.

@eevelweezel
Copy link
Copy Markdown
Contributor Author

needs-review

@chevah-robot chevah-robot requested a review from a team February 1, 2024 03:03
Copy link
Copy Markdown
Member

@adiroiban adiroiban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. All good! I will merge.

@adiroiban adiroiban merged commit 234f378 into twisted:trunk Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

twisted.web.server.Request.defaultContentType is missing type annotation

3 participants