Zloweb
RU

HTTP and HTTPS

How browsers request resources and what TLS adds to the connection.

The request and response

A browser requests a resource from an origin. The method expresses what the client wants to do: GET retrieves a representation, while POST submits content for the server to process. Request headers carry metadata such as accepted formats. The response contains a status, headers and, depending on the request and status, a body.

GET /guides/ HTTP/1.1
Host: zloweb.top
Accept: text/html

What HTTPS protects

HTTPS secures HTTP in transit with TLS. The browser checks that the certificate is trusted and covers the requested host. The connection provides confidentiality and integrity between its endpoints. Scripts running on either endpoint can still access data they receive.

Read a response

A 200 status typically includes the requested resource. A 304 tells a client to reuse a cached representation. A 404 means the requested resource was absent or unavailable to the client. Inspect a request in your browser’s Network panel, or run the local Status page to see a real resource check.

Try the tools

Related reading

References