mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-27 04:52:28 +03:00
1 line
3.6 KiB
HTML
1 line
3.6 KiB
HTML
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># -- COMPRESSED HAS NO EFFECT ON NON-COMPRESSED</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/none</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">12</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/gzip</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">32</span></span><span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">gzip</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/zlib</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">20</span></span><span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">deflate</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/brotli</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">17</span></span><span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">br</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/compressed/brotli_identity</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span><span class="line"><span class="string">Content-Length</span><span>:</span> <span class="string">17</span></span><span class="line"><span class="string">Content-Encoding</span><span>:</span> <span class="string">br, identity</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line">```Hello World!```</span></div></div></div> |