Skip to content

Commit f2abd8b

Browse files
authored
docs: fix http response desc (#108)
1 parent 83dfd15 commit f2abd8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api_v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The client methods returns either a `HTTP Response Entity` or an `error string`.
4343
`HTTP Response Entity` contains the following fields except `408` timeout status;
4444

4545
- `status`: number - HTTP status code.
46-
- `header`: table - response header if `status` is not `408` timeout status.
46+
- `headers`: table - response header if `status` is not `408` timeout status.
4747
- `body`: string or table - response body if `status` is not `408` timeout status.
4848

4949
**Note:** a client method will decode a response body as a JSON string if a `Content-Type` response header value is a `application/json`.

0 commit comments

Comments
 (0)