6.5 Response format
This section describes the format of a response when the response is successfully acquired, and when an error occurs.
A response consists of the status line, response header, and message body. A response is returned in the following format:
httpVersionΔstatusCodeΔreasonPhrase responseHeader messageBody
- Legend:
-
Δ: space
Category |
Entry |
Setting |
---|---|---|
Status line |
httpVersion |
Protocol version |
statusCode |
Status code |
|
reasonPhrase |
Text description of the status code |
|
Request Header |
responseHeader |
Response header |
Message Body |
messageBody |
Message body |