You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
http.server parses HTTP version numbers too permissively. #103204
I understand allowing multiple digits for backwards-compatibility with RFC 2616, but I don't think it makes sense to let the specifics of int leak out into the world. We should at least ensure that only digits are permitted in HTTP version numbers.
My environment
CPython 3.12.0a6+
Operating system and architecture: Arch Linux on x86_64
Activity
gh-103204: `http.server` - Enforce that HTTP version numbers must con…
pythongh-103204: `http.server` - Enforce that HTTP version numbers mu…
[3.11] gh-103204: `http.server` - Enforce that HTTP version numbers m…