Ticket #4022 enhancement closed fixed
twisted.web.http_headers.Headers allows itself to be constructed from strings instead of lists
| Reported by: | exarkun | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | web | Keywords: | easy |
| Cc: | rwall | Branch: | |
| Author: | Launchpad Bug: |
Description
Headers is basically an abstraction around a dict mapping str to list of str. So its initializer will accept such a dict. However, it will also happily accept a dict mapping str to str and populate itself with garbage. It should reject this case.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

