Opened 2 years ago
#6081 enhancement new
Reject unicode in http_headers
|Reported by:||exarkun||Owned by:|
http_headers is mostly just an abstraction over a dictionary. However, its use in twisted.web means that keys nor values should ever be unicode. All strings should be byte strings. There's no checking for this in the code now, but to help out users there probably ought to be.