<divclass="hurl-file"><divclass="hurl-entry"><divclass="request"><spanclass="line"><spanclass="method">GET</span><spanclass="url">http://localhost:8000/assert-status-code</span></span></div><divclass="response"><spanclass="line"><spanclass="version">HTTP/1.0</span><spanclass="status">201</span></span></div></div><divclass="hurl-entry"><divclass="request"><spanclass="line"></span><spanclass="line"><spanclass="comment"># simply check that the status code is not 200</span></span><spanclass="line"><spanclass="comment"># do not run implicit assert of http response version and code</span></span><spanclass="line"><spanclass="method">GET</span><spanclass="url">http://localhost:8000/assert-status-code</span></span></div><divclass="response"><spanclass="line"><spanclass="version">HTTP/*</span><spanclass="status">*</span></span><spanclass="line section-header">[Asserts]</span></span><spanclass="line"><spanclass="query-type">status</span> not <spanclass="predicate-type">equals</span><spanclass="number">200</span></span></div></div><spanclass="line"></span><spanclass="line"></span></div>