What are the core components of a HTTP Request and HTTP Response?

Posted by : Rakesh Sinha
Posted On : 3/31/2016 12:24:53 PM
Posted As :Question Answers
Category :Software Development
View : 2728
                 There are 5 major components for HTTP Request.

Verb - Indicate HTTP methods such as GET, POST, DELETE, PUT etc.
URI - Uniform Resource Identifier to identify the resource on server.
HTTP Version - Indicate HTTP version, for example HTTP v1.3 .
Request Header - Contains metadata for the HTTP Request message as key-value pairs. For example, client ( or browser) type, format supported by client, format of message body, cache settings etc.
Request Body - Message content or Resource representation.
 
There are 4 major components for HTTP Response.

Status / Response Code - Indicate Server status for the requested resource. For example 404 means resource not found and 200 means response is ok.
HTTP Version - Indicate HTTP version, for example HTTP v1.3
Response Header - Contains metadata for the HTTP Response message as key-value pairs. For example, content length, content type, response date, server type etc.
Response Body - Response message content or Resource representation.
 
what is Data Binding?
Submitted in: Ask Question | Category: Software Development
how to pass data from one activity to another activity?
Submitted in: Ask Question | Category: Software Development
What is Data Annotations ?
Submitted in: Ask Question | Category: Software Development
What is difference between $Scope and $rootScope ?
Submitted in: Ask Question | Category: Software Development
What is difference between TextBox and TextBoxFor?
Submitted in: Ask Question | Category: Software Development
how to send selected data to another page on button click
Submitted in: Ask Question | Category: Software Development
what is attribute routing in asp.net mvc
Submitted in: Ask Question | Category: Software Development
What’s an Object ?
Submitted in: Ask Question | Category: Software Development
What is the Android Architecture?
Submitted in: Ask Question | Category: Software Development
What is difference between account payable and bills payable?
Submitted in: Ask Question | Category: Accounting
What is the diff. between abstract class & interface
Submitted in: Ask Question | Category: Software Developement

All rights reserved to Interviewfunda.com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. While using this site, you agree to have read and accepted our terms of use and privacy policy. Best viewed at 1024 x 768 resolution with Internet Explorer 5.0 or Mozila Firefox 3.5 or Google Crome and higher