Return a list of all the header field names. These will be sorted in the order they appeared 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)
| 109 | |
| 110 | |
| 111 | def keys(self): |
| 112 | """Return a list of all the header field names. |
| 113 | |
| 114 | These will be sorted in the order they appeared in the original header |
| 115 | list, or were added to this instance, and may contain duplicates. |
| 116 | Any fields deleted and re-inserted are always appended to the header |
| 117 | list. |
| 118 | """ |
| 119 | return [k for k, v in self._headers] |
| 120 | |
| 121 | def values(self): |
| 122 | """Return a list of all header values. |