mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-18 08:02:12 +03:00
15 lines
1.3 KiB
HTML
15 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> |