hurl/integration/tests/encoding.html
2021-07-03 13:23:53 +02:00

1 line
1.4 KiB
HTML

<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/encoding/utf8</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-Type</span><span>:</span> <span class="string">text/html; charset=utf-8</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/encoding/latin1</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-Type</span><span>:</span> <span class="string">text/html; charset=ISO-8859-1</span></span><span class="line section-header">[Asserts]</span><span class="line"><span class="query-type">status</span> <span class="predicate-type">equals</span> <span class="string">"café"</span></span></div></div><span class="line"></span><span class="line"></span></div>