1. OPEN SOURCE PROGRAMMING USING PHPC.pptx

shrutidakhore 8 views 17 slides Nov 01, 2025
Slide 1
Slide 1 of 17
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17

About This Presentation

My ppt is about HTTP Basics. It includes history of HTTP, Evolution of HTTP, Difference between HTTP and HTTPS, Advantages of HTTP, Disadvantages of HTTP.


Slide Content

Open Source Web Programing Using PHP NAME : SHRUTI DAKHORE DPT : MCA CLASS : SEM I TOPIC : HTTP BASICS

What is HTTP? The Hypertext Transfer Protocol (HTTP) is the foundation of the World Wide Web, and is used to load webpages using hypertext links. HTTP is an application layer protocol designed to transfer information between networked devices and runs on top of other layers of the network protocol stack.

Tim Berners-Lee and his team at CERN are indeed credited with inventing the original HTTP protocol. HTTP version 0.9 was the initial version introduced in 1991. HTTP version 1.0 followed in 1996 with the introduction of RFC 1945. HTTP version 1.1 was introduced in January 1997 with RFC 2068, later refined in RFC 2616 in June 1999. HTTP version 2.0 was specified in RFC 7540 and published on May 14, 2015. HTTP version 3.0, also known as HTTP/3, is based on the QUIC protocol and is designed to improve web performance.

HTTP REQUEST & RESPONSE

The HTTP request lifecycle begins when a client (like a browser) makes a request, which involves finding the server's IP address via DNS, establishing a TCP connection, and sending an HTTP request message. The server then processes the request, generates a response with a status code, and sends it back. Finally, the client receives and renders the response, and the connection is closed.

HTTP Request Circle Requested Resource: This is the type of content you're asking the server to send you. For example, it could be an HTML page, a style sheet (CSS), an image or JavaScript code. Resource Type: This tells the server what kind of file or data you need. For example, an HTML page would be of type HTML, a style sheet is CSS, an image would be an image type (like JPG), JavaScript code is of type JS and data could be in formats like XML or JSON. Server Response: After receiving the request, the server sends back the correct file or data based on the request. For example, if you requested an HTML page, the server sends back the HTML file or if you requested an image, the server sends back the image file. Examples for each request HTML Page: If you want a webpage, the server sends back the HTML content. CSS: For styling a webpage, the server sends the CSS file. Image: If you ask for a picture (like a JPG), the server sends the image. JavaScript: If you need functionality for the page, the server sends the JS code. Data: If you're looking for specific data (like in XML or JSON format), the server sends that data back.

ADVANTAGES OF HTTP Simple and easy to implement Flexible Stateless Cacheable Widely Supported

DISADVANTAGES OF HTTP Insecure No encryption Limited error handling No built-in Authentication Performance Overhead
Tags