Response.headers_array An array with all the request HTTP headers associated with this response. Unlike `response.all_headers()`, header names are NOT lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. Returns
(self)
| 550 | return mapping.from_maybe_impl(self._sync(self._impl_obj.all_headers())) |
| 551 | |
| 552 | def headers_array(self) -> typing.List[NameValue]: |
| 553 | """Response.headers_array |
| 554 | |
| 555 | An array with all the request HTTP headers associated with this response. Unlike `response.all_headers()`, |
| 556 | header names are NOT lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple |
| 557 | times. |
| 558 | |
| 559 | Returns |
| 560 | ------- |
| 561 | List[{name: str, value: str}] |
| 562 | """ |
| 563 | |
| 564 | return mapping.from_impl_list(self._sync(self._impl_obj.headers_array())) |
| 565 | |
| 566 | def header_value(self, name: str) -> typing.Optional[str]: |
| 567 | """Response.header_value |
nothing calls this directly
no test coverage detected