Skip to content

Commit

Permalink
chore(docs): fix APIResponse.headersArray() desc (#32375)
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawMalolepszy-TomTom authored Sep 3, 2024
1 parent 787da9b commit b8c4a47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/api/class-apiresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ An object with all the response HTTP headers associated with this response.
- `name` <[string]> Name 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.

## async method: APIResponse.json
Expand Down
4 changes: 2 additions & 2 deletions packages/playwright-core/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17320,8 +17320,8 @@ export interface APIResponse {
headers(): { [key: string]: string; };

/**
* An array with all the request 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.
* 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.
*/
headersArray(): Array<{
/**
Expand Down

0 comments on commit b8c4a47

Please sign in to comment.