docs: less fancy header array type (#8808)
This commit is contained in:
parent
c6bb0bb44e
commit
e5a92c3e81
|
|
@ -62,11 +62,21 @@ Returns the [Frame] that initiated this request.
|
|||
**DEPRECATED** Incomplete list of headers as seen by the rendering engine. Use [`method: Request.allHeaders`] instead.
|
||||
|
||||
## async method: Request.headersArray
|
||||
* langs: js, csharp, python
|
||||
- returns: <[Array]<[Array]<[string]>>>
|
||||
|
||||
An array with all the request HTTP headers associated with this request. Unlike [`method: Request.allHeaders`], header names are not lower-cased.
|
||||
Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
|
||||
|
||||
## async method: Request.headersArray
|
||||
* langs: java
|
||||
- returns: <[Array]<[Object]>>
|
||||
- `name` <[string]> Name of the header.
|
||||
- `value` <[string]> Value of the header.
|
||||
|
||||
An array with all the request HTTP headers associated with this request. Unlike [`method: Request.allHeaders`], header names are not lower-cased.
|
||||
Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
|
||||
|
||||
## method: Request.isNavigationRequest
|
||||
- returns: <[boolean]>
|
||||
|
||||
|
|
|
|||
|
|
@ -28,11 +28,21 @@ Returns the [Frame] that initiated this response.
|
|||
**DEPRECATED** Incomplete list of headers as seen by the rendering engine. Use [`method: Response.allHeaders`] instead.
|
||||
|
||||
## async method: Response.headersArray
|
||||
* langs: js, csharp, python
|
||||
- returns: <[Array]<[Array]<[string]>>>
|
||||
|
||||
An array with all the request HTTP headers associated with this response. Unlike [`method: Response.allHeaders`], header names are not lower-cased.
|
||||
Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
|
||||
|
||||
## async method: Response.headersArray
|
||||
* langs: java
|
||||
- returns: <[Array]<[Object]>>
|
||||
- `name` <[string]> Name of the header.
|
||||
- `value` <[string]> Value of the header.
|
||||
|
||||
An array with all the request HTTP headers associated with this response. Unlike [`method: Response.allHeaders`], header names are not lower-cased.
|
||||
Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
|
||||
|
||||
## async method: Response.json
|
||||
* langs: js, python
|
||||
- returns: <[Serializable]>
|
||||
|
|
|
|||
Loading…
Reference in a new issue