(self)
| 77 | return f"{self.__class__.__name__}({self._list!r})" |
| 78 | |
| 79 | def copy(self) -> Headers: |
| 80 | copy = self.__class__() |
| 81 | copy._dict = self._dict.copy() |
| 82 | copy._list = self._list.copy() |
| 83 | return copy |
| 84 | |
| 85 | def serialize(self) -> bytes: |
| 86 | # Since headers only contain ASCII characters, we can keep this simple. |
no outgoing calls