(self)
| 1268 | self.response = response |
| 1269 | |
| 1270 | def info(self) -> email.message.Message: |
| 1271 | info = email.message.Message() |
| 1272 | for key, value in self.response.headers.multi_items(): |
| 1273 | # Note that setting `info[key]` here is an "append" operation, |
| 1274 | # not a "replace" operation. |
| 1275 | # https://docs.python.org/3/library/email.compat32-message.html#email.message.Message.__setitem__ |
| 1276 | info[key] = value |
| 1277 | return info |
no test coverage detected