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 upbpo-36274: Encode request lines as Latin-1 #12314
Conversation
the-knights-who-say-ni
added
the
CLA signed
label
Mar 13, 2019
bedevere-bot
added
the
awaiting review
label
Mar 13, 2019
tipabu
force-pushed the
tipabu:bpo-36274-latin-1
branch
from
f673e21
to
3d8161a
Jul 8, 2019
This comment has been minimized.
This comment has been minimized.
|
Closing for this reason. |
jaraco
closed this
Sep 11, 2019
tipabu
deleted the
tipabu:bpo-36274-latin-1
branch
Sep 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.


tipabu commentedMar 13, 2019
•
edited by bedevere-bot
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.
https://bugs.python.org/issue36274
https://bugs.python.org/issue36274