Skip to content

Latest commit

 

History

History
1 lines (1 loc) · 347 Bytes

294.removal.rst

File metadata and controls

1 lines (1 loc) · 347 Bytes

Deprecate tolerance of non-string values when passing headers as a dict. They have historically been silently dropped, but will raise TypeError in the next treq release. Also deprecate passing headers other than dict, ~twisted.web.http_headers.Headers, or None. Historically falsy values like [] or () were accepted.