What is HTTP?
On November 28, 2019 by Morthe StandardHTTP is the abbreviation for Hypertext Transfer Protocol and is an application protocol to allow communication between physically dispersed systems
It was initially devised by Sir Tim Berners Lee in 1989. The W3C now coordinates it.
In its most basic format, it is what establishes how web pages communicate from the webserver to the user’s browser.
Hypertext is the text that is used on web pages, and that connects one page to another, either within the same system or externally. They are the links that connect the content on the Internet.
Table of Contents
How does HTTP work?
HTTP is an application protocol to transfer resources over the Internet.
HTTP uses Port 80, which is the port from which the webserver accepts requests.
Most of the resources are files (images, etc.) but can include other types of data such as scripts.
HTTP sessions are opened by an HTTP client (that is, the user’s browser) through a user agent, and a connection request message is sent to the HTTP server (that is, the webserver). The request message is also known as ‘client request’ and consists of the following lines:
- Request line
- Headings
- Empty string
- An optional message body
- Once the response has been delivered, the webserver closes the connection.
This type of connection is known as Stateless. The link only exists for the period of data exchange.
Depending on the availability or not of the resource, HTTP provides an appropriate status code (also known as ‘server response’), determined by the protocol. They are the following:
- 1xx: a simple informational message
- 2xx: the success of some kind (ex: 200 OK – file found)
- 3xx: the client to another URL (ex: 301 moved permanently)
- 4xx: an error on the client-side (ex: 404 files not found)
- 5xx: a mistake on the server-side (ex: 500 server error)
Secure HTTP (HTTPS)
There is a safer version of HTTP known as HTTPS. This usually involves the use of an SSL certificate that creates a secure and encrypted connection between the browser and the webserver.
It is usually used in areas of websites where sensitive data is transferred, such as payment details or access credentials. In recent years, HTTPS has become a ranking factor for Google, and more and more websites are moving to HTTPS for that reason.
While HTTP uses Port 80, HTTPS uses 443 for communication.
You may also like
Archives
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
Categories
- Air Conditioning
- Android
- Apps
- Automobile
- Business
- Computer Forensics
- Computers & Technology
- Computers and Technology
- Data Recovery
- education
- Food Tech
- Gaming
- General
- Hardware
- Health
- Internet
- IOS
- Jewellery
- Mobile App
- More
- News
- Online Marketing
- Personal Tech
- Programming
- Social Media
- Software
- Tech
- Technology
- Web Hosting
- Yahoo