1
0
mirror of https://gitee.com/coder-xiaomo/notes synced 2025-01-11 20:18:16 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
notes/docs/web-server/static/diagram/day1-How-the-Web-server-works.svg

4 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than diagrams.net -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="572px" height="542px" viewBox="-0.5 -0.5 572 542" content="&lt;mxfile host=&quot;Electron&quot; modified=&quot;2021-11-29T11:32:30.170Z&quot; agent=&quot;5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/15.8.4 Chrome/91.0.4472.164 Electron/13.6.2 Safari/537.36&quot; etag=&quot;Iz8Rugkrytd1BvUkgvJu&quot; version=&quot;15.8.4&quot; type=&quot;device&quot;&gt;&lt;diagram id=&quot;jwgxP97F_BZZV0UmpY_P&quot; name=&quot;第 1 页&quot;&gt;7Vnfc+I2EP5rNNN7gLEt/5AebTDXdq4z12ZurvcosDBujOUKkUD/+q5kgXHsXKCXhGSmT0irXVneb7/dtUB4st59lKxe/SYyXiLPyXYIT5HnuThw4UdL9o2E+n4jyGWRWaVWcFP8w63QsdJtkfFNR1EJUaqi7goXoqr4QnVkTEpx31VbirL71JrlvCe4WbCyL/1aZGplpW5I24WfeZGv7KOJFzULa3ZQtm+yWbFM3J+IcIrwRAqhmtF6N+Gldt7BL43d7JHV48Ekr9Q5Bje/4nqU//J5OtvRZDKLfv+Yi9FhmztWbu0b29Oq/cEFUmyrjOtdHIST+1Wh+E3NFnr1HkAH2UqtS5i5MFyKSlkUXQJzuz2Xiu8ePbh7dAfEERdrruQeVKxB4FsP2hByiZ3ft4B4B53VCRZ+ZIXMBkF+3Lv1Ewysqy5wm9/3WhqiJEB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yf+h3r0/cBuqsDg00fF36KJlqNa0Dn5Azk8yhkw0PFABKNSywbfEbvkh83pqBafcqOKQDl/jBwCU+vvwOH6bt3yrNHUT75xRO/wU=&lt;/diagram&gt;&lt;/mxfile&gt;"><defs/><g><rect x="330" y="0" width="240" height="470" fill="rgba(255, 255, 255, 1)" stroke="rgba(0, 0, 0, 1)" pointer-events="all"/><rect x="0" y="220.88" width="78.75" height="39.38" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 77px; height: 1px; padding-top: 241px; margin-left: 1px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">浏览器</div></div></div></foreignObject><text x="39" y="246" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="18px" text-anchor="middle" font-weight="bold">浏览器</text></switch></g><rect x="380.62" y="480.01" width="144.38" height="39.38" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 142px; height: 1px; padding-top: 500px; margin-left: 382px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">Web服务器</div></div></div></foreignObject><text x="453" y="505" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="18px" text-anchor="middle" font-weight="bold">Web服务器</text></switch></g><rect x="354.38" y="24" width="196.88" height="52.5" fill="rgba(255, 255, 255, 1)" stroke="rgba(0, 0, 0, 1)" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 195px; height: 1px; padding-top: 50px; margin-left: 355px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">监听客户端请求</div></div></div></foreignObject><text x="453" y="56" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="18px" text-anchor="middle">监听客户端请求</text></switch></g><path d="M 39.43 220.88 L 39.43 50.29 L 348.01 50.25" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 353.26 50.25 L 346.26 53.75 L 348.01 50.25 L 346.26 46.75 Z" fill="rgba(0, 0, 0, 1)" stroke="rgba(0, 0, 0, 1)" stroke-miterlimit="10" pointer-events="all"/><rect x="354.38" y="146.06" width="196.88" height="52.5" fill="rgba(255, 255, 255, 1)" stroke="rgba(0, 0, 0, 1)" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 195px; height: 1px; padding-top: 172px; margin-left: 355px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">获取请求方法、<br />解析URL</div></div></div></foreignObject><text x="453" y="178" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="18px" text-anchor="middle">获取请求方法、&#xa;解析URL</text></switch></g><path d="M 447.82 77 L 457.82 77 L 457.82 126.56 L 468.32 126.56 L 452.82 145.56 L 437.32 126.56 L 447.82 126.56 Z" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-miterlimit="10" pointer-events="all"/><rect x="354.38" y="269.44" width="196.88" height="52.5" fill="rgba(255, 255, 255, 1)" stroke="rgba(0, 0, 0, 1)" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 195px; height: 1px; padding-top: 296px; margin-left: 355px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">响应客户端请求<br style="font-size: 18px" />(静态、动态)</div></div></div></foreignObject><text x="453" y="301" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="18px" text-anchor="middle">响应客户端请求&#xa;(静态、动态)</text></switch></g><path d="M 447.82 199.06 L 457.82 199.06 L 457.82 249.94 L 468.32 249.94 L 452.82 268.94 L 437.32 249.94 L 447.82 249.94 Z" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-miterlimit="10" pointer-events="all"/><path d="M 354.38 417.71 L 39.43 417.71 L 39.38 266.62" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 39.38 261.37 L 42.88 268.37 L 39.38 266.62 L 35.88 268.37 Z" fill="rgba(0, 0, 0, 1)" stroke="rgba(0, 0, 0, 1)" stroke-miterlimit="10" pointer-events="all"/><rect x="354.38" y="391.5" width="196.88" height="52.5" fill="rgba(255, 255, 255, 1)" stroke="rgba(0, 0, 0, 1)" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 195px; height: 1px; padding-top: 418px; margin-left: 355px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">响应返回给用户</div></div></div></foreignObject><text x="453" y="423" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="18px" text-anchor="middle">响应返回给用户</text></switch></g><path d="M 447.82 322.44 L 457.82 322.44 L 457.82 372 L 468.32 372 L 452.82 391 L 437.32 372 L 447.82 372 Z" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-miterlimit="10" pointer-events="all"/><rect x="180" y="510" width="250" height="30" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 248px; height: 1px; padding-top: 525px; margin-left: 181px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 18px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><span style="color: rgb(44 , 62 , 80) ; font-family: , &quot;blinkmacsystemfont&quot; , &quot;segoe ui&quot; , &quot;roboto&quot; , &quot;oxygen&quot; , &quot;ubuntu&quot; , &quot;cantarell&quot; , &quot;fira sans&quot; , &quot;droid sans&quot; , &quot;helvetica neue&quot; , sans-serif ; font-size: 16px ; background-color: rgb(255 , 255 , 255)">Web服务器工作原理</span></div></div></div></foreignObject><text x="305" y="530" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="18px" text-anchor="middle">Web服务器工作原理</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Viewer does not support full SVG 1.1</text></a></switch></svg>