Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
bpo-36274: Encode request lines as Latin-1 #12314
While this is out of spec according to RFC 7230 (which limits expected octets to some subset of ASCII), it is often useful to be able to mimic an out-of-spec client when testing a server or application.
Use Latin-1 in keeping with how we handle headers and bodies. This is the first fix proposed in the bug report; the second will also be submitted so reviewers can decide between fixes.