Skip to content

Instantly share code, notes, and snippets.

@SphinxKnight
Created July 23, 2023 09:45
Show Gist options
  • Save SphinxKnight/5e78b8133db882fc34c479fae893b4ea to your computer and use it in GitHub Desktop.
Save SphinxKnight/5e78b8133db882fc34c479fae893b4ea to your computer and use it in GitHub Desktop.
Content Negotiation diagrams
<mxfile host="app.diagrams.net" modified="2023-07-23T09:44:16.648Z" agent="Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0" etag="_tqM7hZvW3Fr0D1uwevL" version="21.6.5" type="device" pages="3">
<diagram name="Schéma1" id="GDJU4oWS2C4HHc3Cu_aC">
<mxGraphModel dx="1195" dy="663" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-27" value="1. Demande la ressource" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontSize=14;" edge="1" parent="1" source="A5BYZ7IDN-x3Ulex9PuZ-1" target="A5BYZ7IDN-x3Ulex9PuZ-3">
<mxGeometry y="-30" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-1" value="Client" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="1">
<mxGeometry x="250" y="380" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-25" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=-0.007;entryY=0.443;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="A5BYZ7IDN-x3Ulex9PuZ-3" target="A5BYZ7IDN-x3Ulex9PuZ-4">
<mxGeometry relative="1" as="geometry">
<mxPoint x="710" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-3" value="URL" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;fontSize=23;" vertex="1" parent="1">
<mxGeometry x="550" y="380" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-4" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="750" y="250" width="230" height="360" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-5" value="fr" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="1">
<mxGeometry x="760" y="260" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-6" value="de" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="1">
<mxGeometry x="870" y="260" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-7" value="text/html" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="1">
<mxGeometry x="760" y="330" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-9" value="text/pdf" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="1">
<mxGeometry x="760" y="400" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-10" value="gzip" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="1">
<mxGeometry x="760" y="470" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-28" value="2. Renvoie la représentation de la ressource la plus appropriée" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=14;" edge="1" parent="1" source="A5BYZ7IDN-x3Ulex9PuZ-11" target="A5BYZ7IDN-x3Ulex9PuZ-1">
<mxGeometry x="-0.2185" y="20" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-11" value="br" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="1">
<mxGeometry x="760" y="540" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="A5BYZ7IDN-x3Ulex9PuZ-13" target="A5BYZ7IDN-x3Ulex9PuZ-6">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-13" value="URLa" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="1000" y="275" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="A5BYZ7IDN-x3Ulex9PuZ-14" target="A5BYZ7IDN-x3Ulex9PuZ-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-14" value="URLb" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="1000" y="345" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="A5BYZ7IDN-x3Ulex9PuZ-15" target="A5BYZ7IDN-x3Ulex9PuZ-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-15" value="URLc" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="1000" y="415" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-21" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="A5BYZ7IDN-x3Ulex9PuZ-16" target="A5BYZ7IDN-x3Ulex9PuZ-10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-16" value="URLd" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="1000" y="485" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="A5BYZ7IDN-x3Ulex9PuZ-17" target="A5BYZ7IDN-x3Ulex9PuZ-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-17" value="URLe" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="1">
<mxGeometry x="1000" y="555" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="A5BYZ7IDN-x3Ulex9PuZ-29" value="&lt;div align=&quot;left&quot;&gt;La ressource sur le serveur&lt;br&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font style=&quot;font-size: 18px;&quot;&gt;(avec différentes représentations)&lt;/font&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=23;" vertex="1" parent="1">
<mxGeometry x="750" y="160" width="350" height="90" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram name="Schéma2" id="xpZENRsO559lTTXtEY1p">
<mxGraphModel dx="1434" dy="795" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0-k2dI2j5oGZsYkixCN2-0" />
<mxCell id="0-k2dI2j5oGZsYkixCN2-1" parent="0-k2dI2j5oGZsYkixCN2-0" />
<mxCell id="0-k2dI2j5oGZsYkixCN2-2" value="&lt;div align=&quot;left&quot;&gt;&lt;b&gt;1. Demande la ressource&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;GET /URL HTTP/1.1&lt;/font&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Accept: text/*&lt;/font&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Accept-Language: en&lt;/font&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Accept-Encoding: br, gzip; q=1.0&lt;br&gt;&lt;/font&gt;&lt;/div&gt;" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontSize=14;align=left;" edge="1" parent="0-k2dI2j5oGZsYkixCN2-1" source="0-k2dI2j5oGZsYkixCN2-3" target="0-k2dI2j5oGZsYkixCN2-5">
<mxGeometry x="-0.8889" y="-70" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-3" value="Client" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="250" y="380" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=-0.007;entryY=0.443;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="0-k2dI2j5oGZsYkixCN2-1" source="0-k2dI2j5oGZsYkixCN2-5" target="0-k2dI2j5oGZsYkixCN2-6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="710" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-5" value="URL" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;fontSize=23;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="550" y="380" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-6" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="750" y="250" width="230" height="360" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-7" value="fr" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="760" y="260" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-8" value="de" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="870" y="260" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-9" value="text/html" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="760" y="330" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-10" value="text/pdf" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="760" y="400" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-11" value="gzip" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="760" y="470" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-12" value="&lt;div align=&quot;left&quot;&gt;&lt;b&gt;2. Renvoie la représentation de la ressource la plus appropriée&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;HTTP/1.1 200 OK&lt;br&gt;Content-Location: /URLe&lt;br&gt;Content-Type: text/html&lt;/font&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Content-Language: en&lt;/font&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Content-Encoding: br&lt;br&gt;&lt;/font&gt;&lt;/div&gt;" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=14;align=left;" edge="1" parent="0-k2dI2j5oGZsYkixCN2-1" source="0-k2dI2j5oGZsYkixCN2-13" target="0-k2dI2j5oGZsYkixCN2-3">
<mxGeometry x="0.3642" y="60" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-13" value="br" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="760" y="540" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="0-k2dI2j5oGZsYkixCN2-1" source="0-k2dI2j5oGZsYkixCN2-15" target="0-k2dI2j5oGZsYkixCN2-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-15" value="URLa" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="1000" y="275" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="0-k2dI2j5oGZsYkixCN2-1" source="0-k2dI2j5oGZsYkixCN2-17" target="0-k2dI2j5oGZsYkixCN2-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-17" value="URLb" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="1000" y="345" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="0-k2dI2j5oGZsYkixCN2-1" source="0-k2dI2j5oGZsYkixCN2-19" target="0-k2dI2j5oGZsYkixCN2-10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-19" value="URLc" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="1000" y="415" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="0-k2dI2j5oGZsYkixCN2-1" source="0-k2dI2j5oGZsYkixCN2-21" target="0-k2dI2j5oGZsYkixCN2-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-21" value="URLd" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="1000" y="485" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="0-k2dI2j5oGZsYkixCN2-1" source="0-k2dI2j5oGZsYkixCN2-23" target="0-k2dI2j5oGZsYkixCN2-13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-23" value="URLe" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="1000" y="555" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="0-k2dI2j5oGZsYkixCN2-24" value="&lt;div align=&quot;left&quot;&gt;La ressource sur le serveur&lt;br&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font style=&quot;font-size: 18px;&quot;&gt;(avec différentes représentations)&lt;/font&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=23;" vertex="1" parent="0-k2dI2j5oGZsYkixCN2-1">
<mxGeometry x="750" y="160" width="350" height="90" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram name="Schéma3" id="3na8lA7c-Q4LtAIz6cw6">
<mxGraphModel dx="1434" dy="795" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="ZHOSKensRrAjm-tqHG1n-0" />
<mxCell id="ZHOSKensRrAjm-tqHG1n-1" parent="ZHOSKensRrAjm-tqHG1n-0" />
<mxCell id="ZHOSKensRrAjm-tqHG1n-2" value="&lt;div align=&quot;left&quot;&gt;&lt;b&gt;1. Demande la ressource&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;GET /URL HTTP/1.1&lt;/font&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Accept: text/*&lt;/font&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Accept-Language: en&lt;/font&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Accept-Encoding: br, gzip; q=0.8&lt;br&gt;&lt;/font&gt;&lt;/div&gt;" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontSize=14;align=left;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-3" target="ZHOSKensRrAjm-tqHG1n-5">
<mxGeometry x="-1" y="-80" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="3LGBP_ELFZbCeJUtlwlS-0" value="&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;&lt;font style=&quot;font-size: 14px;&quot;&gt;3. Demande une représentation spécifique&lt;/font&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;font face=&quot;Courier New&quot; style=&quot;font-size: 14px;&quot;&gt;GET /URLe HTTP/1.1&lt;br&gt;&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;font face=&quot;Courier New&quot; style=&quot;font-size: 14px;&quot;&gt;Accept: text/*&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;font face=&quot;Courier New&quot; style=&quot;font-size: 14px;&quot;&gt;Accept-Language: en&lt;/font&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;Accept-Encoding: br, gzip; q=0.8&lt;/font&gt;&lt;/div&gt;" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0;entryDx=45;entryDy=30;entryPerimeter=0;align=left;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-3" target="ZHOSKensRrAjm-tqHG1n-23">
<mxGeometry x="-0.3982" y="-50" relative="1" as="geometry">
<Array as="points">
<mxPoint x="280" y="690" />
<mxPoint x="1055" y="690" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-3" value="Client" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="250" y="380" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-4" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=-0.007;entryY=0.443;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-5" target="ZHOSKensRrAjm-tqHG1n-6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="710" y="410" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-5" value="URL" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;fontSize=23;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="570" y="380" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-6" value="" style="rounded=0;whiteSpace=wrap;html=1;fillColor=none;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="750" y="250" width="230" height="360" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-7" value="fr" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="760" y="260" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-8" value="de" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="870" y="260" width="100" height="60" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-9" value="text/html" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="760" y="330" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-10" value="text/pdf" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="760" y="400" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-11" value="gzip" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="760" y="470" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-12" value="&lt;div align=&quot;left&quot;&gt;&lt;b&gt;2. Renvoie la liste des représentations appropriées&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font face=&quot;Courier New&quot;&gt;HTTP/1.1 300 Multiple Choices&lt;/font&gt;&lt;/div&gt;" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=14;align=left;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-13" target="ZHOSKensRrAjm-tqHG1n-3">
<mxGeometry x="0.3642" y="30" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="3LGBP_ELFZbCeJUtlwlS-1" value="&lt;div&gt;&lt;b&gt;4. Renvoie la représentation demandée&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Courier New&quot;&gt;HTTP/1.1 200 OK&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Courier New&quot;&gt;Content-Location: /URLe&lt;br&gt;&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Courier New&quot;&gt;Content-Type: text/html&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Courier New&quot;&gt;Content-Language: en&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font face=&quot;Courier New&quot;&gt;Content-Encoding: br&lt;br&gt;&lt;/font&gt;&lt;/div&gt;" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.075;entryY=0.983;entryDx=0;entryDy=0;entryPerimeter=0;align=left;fontSize=14;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-13" target="ZHOSKensRrAjm-tqHG1n-3">
<mxGeometry x="0.2222" y="60" relative="1" as="geometry">
<Array as="points">
<mxPoint x="918" y="810" />
<mxPoint x="259" y="810" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-13" value="br" style="rounded=0;whiteSpace=wrap;html=1;fontSize=23;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="760" y="540" width="210" height="60" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-15" target="ZHOSKensRrAjm-tqHG1n-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-15" value="URLa" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="1000" y="275" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-17" target="ZHOSKensRrAjm-tqHG1n-9">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-17" value="URLb" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="1000" y="345" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-19" target="ZHOSKensRrAjm-tqHG1n-10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-19" value="URLc" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="1000" y="415" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-20" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-21" target="ZHOSKensRrAjm-tqHG1n-11">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-21" value="URLd" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="1000" y="485" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-22" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="ZHOSKensRrAjm-tqHG1n-1" source="ZHOSKensRrAjm-tqHG1n-23" target="ZHOSKensRrAjm-tqHG1n-13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-23" value="URLe" style="html=1;shadow=0;dashed=0;align=center;verticalAlign=middle;shape=mxgraph.arrows2.arrow;dy=0;dx=10;notch=0;flipH=1;fontSize=19;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="1000" y="555" width="100" height="30" as="geometry" />
</mxCell>
<mxCell id="ZHOSKensRrAjm-tqHG1n-24" value="&lt;div align=&quot;left&quot;&gt;La ressource sur le serveur&lt;br&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;font style=&quot;font-size: 18px;&quot;&gt;(avec différentes représentations)&lt;/font&gt;&lt;br&gt;&lt;/div&gt;" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=23;" vertex="1" parent="ZHOSKensRrAjm-tqHG1n-1">
<mxGeometry x="750" y="160" width="350" height="90" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment