mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-20 09:31:39 +03:00
2 lines
1.8 KiB
HTML
2 lines
1.8 KiB
HTML
|
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="method">GET</span> <span class="string">http://localhost:8000/error-assert-query-cookie</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><span class="section-header">[Asserts]</span></span><span class="line"></span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie1</span>Secure not <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie1</span>Secure <span class="predicate-type">equals</span> <span class="boolean">false</span></span> <span class="comment"># This is not valid, Secure attribute exists or not but does have a value</span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie1</span>Secure not <span class="predicate-type">equals</span> <span class="boolean">true</span></span><span class="line"></span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie2</span>Secure <span class="predicate-type">exists</span></span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie2</span>Secure <span class="predicate-type">equals</span> <span class="boolean">true</span></span> <span class="comment"># This is not valid, Secure attribute exists or not but does have a value</span><span class="line"><span class="query-type">cookie</span> <span class="string">cookie2</span>Secure not <span class="predicate-type">equals</span> <span class="boolean">true</span></span> <span class="comment"># This is not valid, Secure attribute exists or not but does have a value</span></div></div></div>
|