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

Web browser (the client)→Across the internet→Web server application
message=nothing sent yethappening=a web address is entered in the browser

Output

 

Step 1: Everything starts at the client. The user has only typed an address so far, so no message has left the browser.

1 / 6

Use Next to move the message along. Each stop shows what is being carried and what is happening.

Step 1 of 6: Everything starts at the client. The user has only typed an address so far, so no message has left the browser..

Watch out: Notice that the browser and the server are doing different jobs. The browser asks and displays. The server receives, gathers and replies.

Check your thinking

So what actually is HTTP?

A protocol is a set of rules used to allow devices to communicate with each other. HTTP is one protocol. Four students each try to say what it is.

Which of these is closest to what you think HTTP is?
How sure are you?

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.

HTTP request handed to TCP

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?

Your turn

Describe the round trip in your own words

Describe how a web browser uses HTTP to get a web page from a web server. [4 marks]

0 words · your answer stays on this page and is not sent anywhere.

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

1A protocol is a set of agreed rules that lets devices communicate, even devices from different manufacturers.
2HTTP is used for requesting and transferring web pages from web servers: an HTTP request goes out and an HTTP response comes back.
3HTTP is an application-layer protocol; its request is passed to TCP at the transport layer, which breaks it into segments.
4Plain HTTP does not encrypt data; HTTPS adds encryption, and most websites have moved to it.

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?
A set of rules used to allow devices to communicate with each other.
What is HTTP used for?
Requesting and transferring web pages from web servers.
What does HTTP stand for?
Hypertext Transfer Protocol.
What does the browser send when a web address is entered?
An HTTP request, sent across the internet to the web server application.
What does the web server do once the request arrives?
It gathers the data needed to show the page and formats it as an HTTP response.
Who displays the web page?
The client's browser, once the HTTP response has been sent back to it.
Which layer of the four-layer TCP/IP model is HTTP used in?
The application layer.
Web browsing needs data to be what two things?
Complete and reliable, which is why the request goes to TCP.
What does TCP do to the HTTP request?
It breaks it into segments at the transport layer.
Does plain HTTP encrypt data?
No. HTTPS is the version that adds encryption, and most websites have moved to it.

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 posted

More Edexcel GCSE Computer Science topics

See the full Edexcel Computer Science curriculum →

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.