200-901 · Question #212
Which data is specified in the response header?
The correct answer is D. Content-Type. Content-Type is an HTTP response header field that tells the client what media type (MIME type) the response body contains, such as 'application/json' or 'text/html'. Response headers appear after the status line and before the body. Option A ('{{') is JSON body syntax. Option…
Question
Which data is specified in the response header?
Exhibit
Options
- A{
- BHTTP/1.1 200 OK
- C''type'', ''switch''
- DContent-Type
How the community answered
(44 responses)- A2% (1)
- B2% (1)
- C5% (2)
- D91% (40)
Explanation
Content-Type is an HTTP response header field that tells the client what media type (MIME type) the response body contains, such as 'application/json' or 'text/html'. Response headers appear after the status line and before the body. Option A ('{{') is JSON body syntax. Option B ('HTTP/1.1 200 OK') is the status line, which precedes the headers. Option C (' ''type'', ''switch'' ') resembles a JSON body key-value pair. Only Content-Type (D) is an actual HTTP header field.
Topics
Community Discussion
No community discussion yet for this question.
