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

Mypy thinks that http.Request.uri is a str, not bytes #10139

Closed
twisted-trac opened this issue Mar 18, 2021 · 3 comments
Closed

Mypy thinks that http.Request.uri is a str, not bytes #10139

twisted-trac opened this issue Mar 18, 2021 · 3 comments

Comments

@twisted-trac
Copy link

wsanchez's avatar @wsanchez reported
Trac ID trac#10139
Type enhancement
Created 2021-03-18 16:39:33Z
Branch https://github.com/twisted/twisted/tree/10139-uri

Mypy thinks that http.Request.uri is a str, not bytes.

This is because it is initialized as uri = "(no uri yet)".

Searchable metadata
trac-id__10139 10139
type__enhancement enhancement
reporter__wsanchez wsanchez
priority__normal normal
milestone__None None
branch__10139_uri 10139-uri
branch_author__ 
status__closed closed
resolution__fixed fixed
component__web web
keywords__None None
time__1616085573202829 1616085573202829
changetime__1616089163512717 1616089163512717
version__None None
owner__wsanchez wsanchez

@twisted-trac
Copy link
Author

wsanchez's avatar @wsanchez set owner to @wsanchez
@wsanchez set status to assigned

@twisted-trac
Copy link
Author

wsanchez's avatar @wsanchez commented

#1554

@twisted-trac
Copy link
Author

wsanchez's avatar @wsanchez set status to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants