module documentation
Tests for twisted.web.http_headers
.
Class |
|
Tests for Headers , using bytes arguments for methods. |
Class |
|
Tests for Headers , mixing bytes and str arguments for methods where that is permitted. |
Class |
|
Tests for Headers , using str arguments for methods. |
Function | assert |
Assert that the components are sanitized to the expected value as both a header name and value, across all of Header 's setters and getters. |
Assert that the components are sanitized to the expected value as both a header name and value, across all of Header
's setters and getters.
Parameters | |
test | A test case. |
components | A sequence of values that contain linear whitespace to use as header names and values; see textLinearWhitespaceComponents and bytesLinearWhitespaceComponents |
expected | The expected sanitized form of the component for both headers names and their values. |