What constitutes the core components of HTTP Response?

DWQA QuestionsCategory: Web Design HTMLWhat constitutes the core components of HTTP Response?
Editor Staff asked 1 month ago

What constitutes the core components of HTTP Response?

1 Answers
Editor Staff answered 1 month ago

HTTP Response has 4 components:

  • Response Status Code − This represents the server response status code for the requested resource. Example- 400 represents a client-side error, 200 represents a successful response.
  • HTTP Version − Indicates the HTTP protocol version.
  • Response Header − This part has the metadata of the response message. Data can describe what is the content length, content type, response date, what is server type, etc.
  • Response Body − This part contains what is the actual resource/message returned from the server.