For what is HTTP used? What are the major parts of an HTTP request and response?
Solution-
HTTP stands for Hypertext Transfer Protocol. It is an application-level protocol that is used for the transfer of data over the web. It defines the service and commands used for the transfer of internet data. It shows how the messages are transmitted and formatted. It also instructs the webserver to take appropriate actions for several commands it receives. This protocol utilizes a client-server model.
Major parts of HTTP request are-
- · Request Body
- · Verb
- · URI
- · Header
- · HTTP Version
Major parts of the HTTP response is-
- · Response body
- · Response Code
- · Header
- · HTTP version
Explanation-
Initially, HTTP was used to transfer the raw data over the internet. Later WWW started using it for the purpose of Metadata defining the data to be transferred. HTTPS is a secured version of HTTP. It shows that the transfer of data is encrypted by TLS or SSL.
References
Fielding, R., Gettys, J., Mogul, J., Frystyk, H., Masinter, L., Leach, P., & Berners-Lee, T. (1999). RFC2616: Hypertext Transfer Protocol--HTTP/1.1.
Wong, C. (2000). Http pocket reference: Hypertext transfer protocol. " O'Reilly Media, Inc.".
No comments:
Post a Comment