bpo-36274: Encode request lines as Latin-1 by tipabu · Pull Request #12314 · python/cpython

@tipabu

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.

https://bugs.python.org/issue36274

@tipabu tipabu deleted the bpo-36274-latin-1 branch

September 11, 2019 20:12