mirror of
https://github.com/django/django.git
synced 2025-02-06 23:45:22 +00:00
Workaround for http://bugs.python.org/issue20747. In some corner cases, Python 2 inserts a newline in a header value despite `maxlinelen` passed in Header constructor. Thanks Tim Graham for the review. Backport of efb1f99f94 from master.