Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(http): Add SVG diagrams for HTTP overview page #34251

Merged
merged 2 commits into from
Jun 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Apply suggestions from code review
  • Loading branch information
bsmth committed Jun 18, 2024
commit 9a6fdd6e6bcd4b23d8b05568f359eb8435f44e7f
6 changes: 3 additions & 3 deletions files/en-us/web/http/overview/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Most of the time the user-agent is a Web browser, but it can be anything, for ex
Each individual request is sent to a server, which handles it and provides an answer called the _response_.
Between the client and the server there are numerous entities, collectively called {{Glossary("Proxy_server", "proxies")}}, which perform different operations and act as gateways or {{Glossary("Cache", "caches")}}, for example.

![Client server chain](https://mdn.github.io/shared-assets/images/diagrams/http/overview/client-server-chain.svg)
![A HTTP request from a client forwarded by several proxies to a server and a response taking the same route back to the client.](https://mdn.github.io/shared-assets/images/diagrams/http/overview/client-server-chain.svg)

In reality, there are more computers between a browser and the server handling the request: there are routers, modems, and more.
Thanks to the layered design of the Web, these are hidden in the network and transport layers.
Expand Down Expand Up @@ -193,7 +193,7 @@ There are two types of HTTP messages, requests and responses, each with its own

An example HTTP request:

![A basic HTTP request](https://mdn.github.io/shared-assets/images/diagrams/http/overview/http-request.svg)
![Overview of a HTTP GET request with headers](https://mdn.github.io/shared-assets/images/diagrams/http/overview/http-request.svg)

Requests consist of the following elements:

Expand All @@ -208,7 +208,7 @@ Requests consist of the following elements:

An example response:

![HTTP Response image](https://mdn.github.io/shared-assets/images/diagrams/http/overview/http-response.svg)
![Overview of a '200 OK' HTTP response to a GET request including response headers.](https://mdn.github.io/shared-assets/images/diagrams/http/overview/http-response.svg)

Responses consist of the following elements:

Expand Down