HTTP (Hypertext Transfer Protocol) is the set of rules a client uses to ask a web server for something, and the server uses to answer. The client can be a browser, an app or a search engine crawler. Loading one web page usually takes many HTTP exchanges: one for the HTML, then one for each stylesheet, script, font and image the page uses.
A request and a response
Here's what a browser sends when you open https://www.example.com/pricing:
GET /pricing HTTP/1.1
Host: www.example.com
User-Agent: Mozilla/5.0 ...
Accept: text/html
And a typical answer:
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
<!doctype html>
<html> ...
The parts:
- Method: what the client wants to do.
GETfetches a resource,HEADfetches only its headers,POSTsends data, such as a form. - Path: which resource, here
/pricing. - Headers: extra information as name and value pairs. The request says which site it wants (
Host) and who's asking (User-Agent). The response says what it's sending and how long it may be cached (Cache-Control). - Status code: the three-digit result, here
200 OK. See HTTP status codes for what each one means. - Body: the content itself, here the HTML.
HTTP is stateless: each request stands on its own, and the server doesn't remember the last one. Logins and shopping carts work because the browser sends a cookie with every request.
HTTP and HTTPS
HTTPS is the same HTTP sent through an encrypted TLS connection. Plain http:// addresses use port 80 by default; https:// addresses use port 443. As of 2026-10-22, 90.3% of websites use HTTPS as their default. W3Techs See HTTPS for what it protects and how to switch.
The versions of HTTP
| Version | First published | What it changed |
|---|---|---|
| HTTP/0.9 | Early 1990s | One-line requests, HTML only, no headers or status codes |
| HTTP/1.0 | 1996 (RFC 1945) | Headers, status codes, other file types |
| HTTP/1.1 | 1997 (RFC 2068) | Persistent connections, the Host header, better caching |
| HTTP/2 | 2015 | Many requests at once over one connection; see HTTP/2 |
| HTTP/3 | 2022 (RFC 9114) | Runs on QUIC over UDP instead of TCP; see HTTP/3 |
In 2022 the standard was reorganised. The meaning of methods, status codes and headers now lives in one document, RFC 9110, and applies to every version. RFC 9110 Separate documents describe how HTTP/1.1, HTTP/2 and HTTP/3 carry those messages. So moving your server to a newer version changes how fast files travel, not your URLs or your pages.
What HTTP means for SEO
Crawlers speak HTTP. Google's crawlers fetch pages over HTTP/1.1 or HTTP/2 and pick whichever works best for your site. HTTP/1.1 is the default. Google says crawling over HTTP/2 can save resources on both sides but gives no ranking boost. Google
Status codes decide what happens to a URL. A 200 page can be indexed, a 301 points Google to the new address, a 404 drops the URL from the index, and a run of 5xx errors slows crawling.
Headers carry instructions. A response header can tell crawlers not to index a file with X-Robots-Tag, or name the canonical URL of a PDF with a Link: <...>; rel="canonical" header.
Speed starts with the server. How quickly the server sends the first byte of its answer sets a floor for how fast the page can load. See time to first byte.
See the HTTP behind any page
In Chrome, open developer tools, go to the Network tab and reload. Click any request to see its method, status code and headers. Right-click the column headers and add Protocol to see which version each file used: http/1.1, h2 or h3.
From a terminal, this shows the status line and response headers:
curl -sI https://www.example.com/