Opened 3 years ago

#6081 enhancement new

Reject unicode in http_headers

Reported by: exarkun Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: jknight Branch:
Author: Launchpad Bug:


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 (1)

comment:1 Changed 3 years ago by DefaultCC Plugin

  • Cc jknight added
Note: See TracTickets for help on using tickets.