Return a list of `(key, value)` pairs of headers. Allow multiple occurrences of the same key without concatenating into a single comma separated value.
(self)
| 229 | return values_dict.items() |
| 230 | |
| 231 | def multi_items(self) -> list[tuple[str, str]]: |
| 232 | class="st">""" |
| 233 | Return a list of `(key, value)` pairs of headers. Allow multiple |
| 234 | occurrences of the same key without concatenating into a single |
| 235 | comma separated value. |
| 236 | class="st">""" |
| 237 | return [ |
| 238 | (key.decode(self.encoding), value.decode(self.encoding)) |
| 239 | for _, key, value in self._list |
| 240 | ] |
| 241 | |
| 242 | def get(self, key: str, default: typing.Any = None) -> typing.Any: |
| 243 | class="st">""" |