diff --git a/images/diagrams/http/cors/preflight-correct.svg b/images/diagrams/http/cors/preflight-correct.svg index 44845d6..7fef204 100644 --- a/images/diagrams/http/cors/preflight-correct.svg +++ b/images/diagrams/http/cors/preflight-correct.svg @@ -21,9 +21,7 @@ Client - + @@ -66,25 +64,25 @@ Origin: https://foo.example Access-Control-Request-Method: POST Access-Control-Request-Headers: X-PINGOTHER, Content-type - ... + ... HTTP/1.1 204 No Content Access-Control-Allow-Origin: https://foo.example Access-Control-Allow-Methods: POST, GET, OPTIONS Access-Control-Request-Headers: X-PINGOTHER, Content-type Access-Control-Max-Age: 86400 - ... + ... POST /doc HTTP/1.1 X-PINGOTHER: pingpong Content-Type: text/xml; charset=UTF8 Origin: https://foo.example - ... + ... HTTP/1.1 200 OK Access-Control-Allow-Origin: https://foo.example Vary: Accept-Encoding, Origin Content-Length: 235 - ... + ... - + \ No newline at end of file diff --git a/images/diagrams/http/client-server-chain.mmd b/images/diagrams/http/overview/client-server-chain.mmd similarity index 100% rename from images/diagrams/http/client-server-chain.mmd rename to images/diagrams/http/overview/client-server-chain.mmd diff --git a/images/diagrams/http/client-server-chain.svg b/images/diagrams/http/overview/client-server-chain.svg similarity index 100% rename from images/diagrams/http/client-server-chain.svg rename to images/diagrams/http/overview/client-server-chain.svg diff --git a/images/diagrams/http/overview/fetching-a-page.svg b/images/diagrams/http/overview/fetching-a-page.svg new file mode 100644 index 0000000..78176bd --- /dev/null +++ b/images/diagrams/http/overview/fetching-a-page.svg @@ -0,0 +1,231 @@ + + + + + + + + + + + image + + + + + image + + + + + + + + Video + + + + + Video + + + + + + + + Advertisement + + + + + Advertisement + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Web document + + + + + + Web document + + + + + + + + + + + + + + + + + + + + + + + + + GET index.html + + + + + + + GET index.html + + + + + + + + + + GET styles.css + + + + + + + GET styles.css + + + + + + + + + + GET header.png + + + + + + + GET header.png + + + + + + + + + + GET video.mp4 + + + + + + + GET video.mp4 + + + + + + + + + + GET advert.jpg + + + + + + + GET advert.jpg + + + + + + + + + Web server + + + + + Web server + + + + + + + + + + + + Video server + + + + + Video server + + + + + + + + Ad server + + + + + Ad server + + diff --git a/images/diagrams/http/overview/http-layers.svg b/images/diagrams/http/overview/http-layers.svg new file mode 100644 index 0000000..1c05dc8 --- /dev/null +++ b/images/diagrams/http/overview/http-layers.svg @@ -0,0 +1,280 @@ + + + + + + + + + + + + + + + + + HTML + + + + HTML + + + + + + + + + + + + + CSS + + + + CSS + + + + + + + + + + + + + Web APIs + + + + Web APIs + + + + + + + + + + + + + JavaScript + + + + JavaScript + + + + + + + + + + + + + DNS + + + + DNS + + + + + + + + + + + + + UDP + + + + UDP + + + + + + + + + + + + + TCP + + + + TCP + + + + + + + + + + + + + IP + + + + IP + + + + + + + + + + + + + TLS + + + + TLS + + + + + + + + + + + + + + Client + + + + + + Client + + + + + + + + + + + + + + + + + + + HTTP + + + + HTTP + + + + + + + + + + + + + + Application / transport + + + + + + Application... + + + + + + + + + + + + + + + + + + + + IP layer + + + + + + IP layer + + + + + + + + + + + + + + + + + + + The Web + + + + The Web + + + + + + + + + + \ No newline at end of file diff --git a/images/diagrams/http/overview/http-request.svg b/images/diagrams/http/overview/http-request.svg new file mode 100644 index 0000000..44a424a --- /dev/null +++ b/images/diagrams/http/overview/http-request.svg @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + Method + + + + + Method + + + + + + + Path + + + + Path + + + + + + + Protocol version + + + + Protocol version + + + + + + + + Headers + + + + + Headers + + + + + + + + + + + + + + + + + GET + + + + + + GET + + + + + + + + / + + + + + / + + + + + + + + + HTTP/1.1 + + + + + + HTTP/1.1 + + + + + + + + + Host: developer.mozilla.org + + Accept-Language: fr + + + + + Host: developer.mozilla.org... + + + + + + \ No newline at end of file diff --git a/images/diagrams/http/overview/http-response.svg b/images/diagrams/http/overview/http-response.svg new file mode 100644 index 0000000..4fb310e --- /dev/null +++ b/images/diagrams/http/overview/http-response.svg @@ -0,0 +1,121 @@ + + + + + + + + + Status message + + + + Status message + + + + + + + Status code + + + + Status code + + + + + + + Protocol version + + + + Protocol version + + + + + + + + Headers + + + + + Headers + + + + + + + OK + + + + OK + + + + + + + 200 + + + + 200 + + + + + + + + + HTTP/1.1 + + + + + + HTTP/1.1 + + + + + + + + + date: Tue, 18 Jun 2024 10:03:55 GMT + + cache-control: public, max-age=3600 + + content-type: text/html + + + + + date: Tue, 18 Jun 2024 10:03:55 GMT... + + + + + + + + + + + + + + + + + + \ No newline at end of file
+ GET +
/
+ HTTP/1.1 +