GCSE · Computer Science · Edexcel · Spec 1CP2
HTTP protocol
Every web page you have ever opened was a question followed by an answer. Let's follow one of them from your keyboard to the server and back.
Computer Science · Networks
One page request, start to finish
Step through what happens after a web address is entered. Watch where the message is, and what it is, at every step.
Before you press next: when you type a web address, which way does the very first message travel?
Message: A web page request
Output
Step 1: Everything starts at the client. The user has only typed an address so far, so no message has left the browser.
Use Next to move the message along. Each stop shows what is being carried and what is happening.
Computer Science · Structure
Where HTTP sits: the four-layer TCP/IP model
Select a layer to see what it does. The request starts at the top and is handed down.
Tap any part of the diagram to see what it does.
Predict, then check
One quick commitment before you read on.
A browser sends an ordinary HTTP request to a website. Does plain HTTP encrypt the data travelling between the browser and the website?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
The rules a browser and a web server follow to ask for a page and send it back.
What you need to know
- A protocol is a set of rules used to allow devices to communicate with each other.
- Because all devices follow the same protocols, devices made by different manufacturers can send and receive data correctly.
Have a goYour friend's phone is one brand and the website's server is another. They say 'it'll never load, they don't match.' What do you tell them?
They don't need to match. Both follow the same protocols.
Shared rules, not matching hardware or brands, are what let devices from different manufacturers send and receive data correctly.
- HTTP (Hypertext Transfer Protocol) requests and transfers web pages from web servers across the World Wide Web.
- When a web address is entered, the browser sends an HTTP request across the internet to the web server application.
- The server receives the request, gathers the data the page needs and formats it as an HTTP response.
- The response goes back to the client and the browser displays the web page to the user.
Have a goTwo jobs: formatting the HTTP response, and displaying the page. Which belongs to the server and which to the browser?
The server formats the response. The browser displays the page.
The server builds the response from the data it gathers; the client only displays what comes back, so mixing them up swaps the roles of the two machines.
- HTTP is one of the protocols used in the application layer of the four-layer TCP/IP model.
- Web browsing needs complete and reliable data, so the HTTP request is passed to TCP at the transport layer, which breaks it into segments.
Have a goHTTP and TCP both handle the request. Which one breaks it into segments?
TCP, at the transport layer.
HTTP is in the application layer and hands the request down; the breaking-up is done by TCP, the layer below.
- Plain HTTP does not encrypt data, and most websites have moved to HTTPS, which adds encryption.
The big picture
A protocol is a set of agreed rules that lets devices communicate. HTTP is the protocol a browser and a web server use to request and transfer web pages: a request goes out, a response comes back. HTTP sits in the application layer of the four-layer TCP/IP model and hands its request to TCP, which breaks it into segments. Plain HTTP does not encrypt data, which is why most websites have moved to HTTPS.
Key points
Worked example
Problem
A student writes: 'HTTP breaks the web request into segments at the transport layer.' Find what is wrong and rewrite it correctly.
⚠ Watch out
Treating HTTP as the browser or as the internet. HTTP is the set of rules (a protocol) that the browser and the web server follow; it does not encrypt data, and HTTPS is the version that adds encryption.
Memory hook
Ask, gather, reply, show: the browser asks, the server gathers, the server replies, the browser shows.
Check yourself
Run one page request from memory: where it starts, where it goes, what comes back. Then name HTTP's layer and say what happens to the request next.
Flashcards
(10)What is a protocol?
What is HTTP used for?
What does HTTP stand for?
What does the browser send when a web address is entered?
What does the web server do once the request arrives?
Who displays the web page?
Which layer of the four-layer TCP/IP model is HTTP used in?
Web browsing needs data to be what two things?
What does TCP do to the HTTP request?
Does plain HTTP encrypt data?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore Edexcel GCSE Computer Science topics
How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 21 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.