Get all the header fields and values. These will be sorted in the order they were in the original header list, or were added to this instance, and may contain duplicates. Any fields deleted and re-inserted are always appended to the header list.
(self)
| 129 | return [v for k, v in self._headers] |
| 130 | |
| 131 | def items(self): |
| 132 | """Get all the header fields and values. |
| 133 | |
| 134 | These will be sorted in the order they were in the original header |
| 135 | list, or were added to this instance, and may contain duplicates. |
| 136 | Any fields deleted and re-inserted are always appended to the header |
| 137 | list. |
| 138 | """ |
| 139 | return self._headers[:] |
| 140 | |
| 141 | def __repr__(self): |
| 142 | return "%s(%r)" % (self.__class__.__name__, self._headers) |
no outgoing calls
no test coverage detected