(self, key: str)
| 535 | return [(key.decode(class="st">"latin-1"), value.decode(class="st">"latin-1")) for key, value in self._list] |
| 536 | |
| 537 | def getlist(self, key: str) -> list[str]: |
| 538 | get_header_key = key.lower().encode(class="st">"latin-1") |
| 539 | return [item_value.decode(class="st">"latin-1") for item_key, item_value in self._list if item_key == get_header_key] |
| 540 | |
| 541 | def mutablecopy(self) -> MutableHeaders: |
| 542 | return MutableHeaders(raw=self._list[:]) |