class documentation
Tests for normalizeRawHeaders
.
Method | test_pair |
normalizeRawHeaders converts ISO-8859-1-encodable text names into bytes. |
Method | test_pair |
normalizeRawHeaders converts ISO-8859-1-encodable text values into bytes. |
Method | test_pair |
normalizeRawHeaders raises ValueError if the headerPairs argument is not an iterable of 2-item iterables. |
Inherited from TestCase
:
Method | assert |
Assert that a object provides an interface. |
normalizeRawHeaders
converts ISO-8859-1-encodable text names into bytes.
Parameters | |
name:str | Undocumented |
normalizeRawHeaders
converts ISO-8859-1-encodable text values into bytes.
Parameters | |
value:str | Undocumented |
normalizeRawHeaders
raises ValueError
if the headerPairs argument is not an iterable of 2-item iterables.