Академический Документы
Профессиональный Документы
Культура Документы
Pangan, Rico
Amayag, Ivy
Paguio, Tanya
Romero, Angelique
Zamora, Vinalyn
The Hypertext Transfer Protocol (HTTP) enables to communicate between a client and a server.
1.2 Headers
- It allows the client to pass additional information about the request to the server
A. General Headers – Work on both the request and response but it has no relation to the
data transmitted in the body
Figure 1
2. RESPONSE
- It is a reply of the server to the client. The client will send a request message
with the following format, server will now receive and interpret the message
and respond to it with the same message format.
2.1 Status line
- The status line is the first line in the response message. It consist of three parts:
1. HTTP Protocol Version
2. Status Code
3. Reason Phrase
Figure 2
General header: It applies for both requests and responses but with no relation to
the data eventually transmitted in the body.
Request header: It gives additional information about the server which doesn’t fit in
the status line.
Response header: It applies only for response messages.
Entity header: Contains information about the body of the entity.
Figure 3
METHODS
Methods Description
GET It is used to retrieve information from the
given server.
HEAD Same as GET but it only transfers the status
line and the header section
POST It is used to send data to the server
PUT It replaces all the current representation to
the specified source
DELETE It removes all the current representations to
the specified source
CONNECT It establishes a tunnel to the server identified
by the resource
OPTIONS It is used to describe the communication
options for the resource
TRACE It performs a message loop-back test along
the path of the target resource
PATCH It is used to apply partial modifications to a
resource
Resources:
IBM Knowledge Center. (n.d.). Retrieved from
https://www.ibm.com/support/knowledgecenter/en/SSGMCP_5.5.0/reference/wui/eyuadbb.ht
ml