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:|
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.