Update class-apiresponse.md

Modify APIResponse.headersArray description as it was mentioning request headers, while actually response headers are returned

Signed-off-by: Przemyslaw Malolepszy <Przemyslaw.Malolepszy@tomtom.com>
This commit is contained in:
Przemyslaw Malolepszy 2024-08-29 12:56:26 +02:00 committed by GitHub
parent 6763d5ab6b
commit ac697b0f09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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