Request.headers_array An array with all the request HTTP headers associated with this request. Unlike `request.all_headers()`, header names are NOT lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times. Returns
(self)
| 400 | return mapping.from_maybe_impl(self._sync(self._impl_obj.all_headers())) |
| 401 | |
| 402 | def headers_array(self) -> typing.List[NameValue]: |
| 403 | """Request.headers_array |
| 404 | |
| 405 | An array with all the request HTTP headers associated with this request. Unlike `request.all_headers()`, |
| 406 | header names are NOT lower-cased. Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple |
| 407 | times. |
| 408 | |
| 409 | Returns |
| 410 | ------- |
| 411 | List[{name: str, value: str}] |
| 412 | """ |
| 413 | |
| 414 | return mapping.from_impl_list(self._sync(self._impl_obj.headers_array())) |
| 415 | |
| 416 | def header_value(self, name: str) -> typing.Optional[str]: |
| 417 | """Request.header_value |
no test coverage detected