mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-12 05:42:23 +03:00
2 lines
1.0 KiB
HTML
2 lines
1.0 KiB
HTML
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># Test body response with line ending LF and CRLF.</span></span><span class="line"><span class="comment"># We receive the text body "line1\nline2\r\nline3\n"</span></span><span class="line"><span class="comment"># and not "line1\nline2\nline3\n"</span></span><span class="line"></span><span class="line"><span class="comment">#</span></span><span class="line"><span class="comment"># $ printf "line1\nline2\nline3\n" | base64</span></span><span class="line"><span class="comment"># bGluZTEKbGluZTIKbGluZTMK</span></span><span class="line"></span><span class="line"></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/assert-base64</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">base64,bGluZTEKbGluZTIKbGluZTMK;</span></div></div><span class="line"></span></div>
|