chore(docs): fix APIResponse.headersArray() desc (#32375)
This commit is contained in:
parent
787da9b5a5
commit
b8c4a477ff
|
|
@ -60,7 +60,7 @@ An object with all the response HTTP headers associated with this response.
|
||||||
- `name` <[string]> Name of the header.
|
- `name` <[string]> Name of the header.
|
||||||
- `value` <[string]> Value of the header.
|
- `value` <[string]> Value of the header.
|
||||||
|
|
||||||
An array with all the request HTTP headers associated with this response. Header names are not lower-cased.
|
An array with all the response HTTP headers associated with this response. Header names are not lower-cased.
|
||||||
Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
|
Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
|
||||||
|
|
||||||
## async method: APIResponse.json
|
## async method: APIResponse.json
|
||||||
|
|
|
||||||
4
packages/playwright-core/types/types.d.ts
vendored
4
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -17320,8 +17320,8 @@ export interface APIResponse {
|
||||||
headers(): { [key: string]: string; };
|
headers(): { [key: string]: string; };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An array with all the request HTTP headers associated with this response. Header names are not lower-cased. Headers
|
* An array with all the response HTTP headers associated with this response. Header names are not lower-cased.
|
||||||
* with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
|
* Headers with multiple entries, such as `Set-Cookie`, appear in the array multiple times.
|
||||||
*/
|
*/
|
||||||
headersArray(): Array<{
|
headersArray(): Array<{
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue