Ticket #6081 enhancement new
Opened 7 months ago
Reject unicode in http_headers
| Reported by: | exarkun | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | web | Keywords: | |
| Cc: | jknight | Branch: | |
| Author: | Launchpad Bug: |
Description
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.
Change History
Note: See
TracTickets for help on using
tickets.
