We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MyPy assumes it's always bytes, but docs explain it can also be None, so really it should be Optional[bytes].
bytes
None
Optional[bytes]
The text was updated successfully, but these errors were encountered:
#11902 - Fix type for twisted.web.server.Request.defaultContentType (#…
234f378
…12101)
Successfully merging a pull request may close this issue.
MyPy assumes it's always
bytes
, but docs explain it can also beNone
, so really it should beOptional[bytes]
.The text was updated successfully, but these errors were encountered: