hurl/integration/tests/cookie_storage.html
2020-11-16 21:34:38 +01:00

2 lines
1.2 KiB
HTML

<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment">#</span></span><span class="line"><span class="comment"># experimental feature</span></span><span class="line"><span class="comment"># manage cookie store</span></span><span class="line"><span class="comment">#</span></span><span class="line"></span><span class="line"><span class="comment"># @cookie_storage_set: localhost FALSE / FALSE 0 cookie1 valueA</span></span><span class="line"><span class="method">GET</span> <span class="url">http://localhost:8000/cookie-storage/assert-that-cookie1-is-valueA</span></span></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><div class="hurl-entry"><div class="request"><span class="line"></span><span class="line"><span class="comment"># @cookie_storage_clear</span></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></div><div class="response"><span class="line"><span class="version">HTTP/1.0</span> <span class="status">200</span></span></div></div><span class="line"></span><span class="line"></span></div>