hurl/integration/tests_ok/cookie_storage.html
Fabrice Reix bf79a512e0
Newline added at the end of the files
hurlfmt now also outputs a trailing newline.
2022-10-24 15:04:50 +02:00

16 lines
1.3 KiB
HTML

<pre><code class="language-hurl"><span class="hurl-entry"><span class="request"><span class="line"></span><span class="comment">#</span>
<span class="line"></span><span class="comment"># experimental feature</span>
<span class="line"></span><span class="comment"># manage cookie store</span>
<span class="line"></span><span class="comment">#</span>
<span class="line"></span>
<span class="line"></span><span class="comment"># @cookie_storage_set: localhost FALSE / FALSE 0 cookie1 valueA</span>
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie-storage/assert-that-cookie1-is-valueA</span></span>
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
</span></span><span class="hurl-entry"><span class="request"><span class="line"></span>
<span class="line"></span><span class="comment"># @cookie_storage_clear</span>
<span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie-storage/assert-that-cookie1-is-not-in-session</span></span>
</span><span class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="number">200</span></span>
</span></span><span class="line"></span>
<span class="line"></span>
</code></pre>