mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-20 01:11:40 +03:00
1 line
1.1 KiB
HTML
1 line
1.1 KiB
HTML
<div class="hurl-file"><div class="hurl-entry"><div class="request"><span class="line"><span class="comment"># Sample from https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PATCH</span></span><span class="line"><span class="method">PATCH</span> <span class="url">http://localhost:8000/patch/file.txt</span></span></div><span class="line"><span class="string">Host</span><span>:</span> <span class="string">www.example.com</span></span><span class="line"><span class="string">Content-Type</span><span>:</span> <span class="string">application/example</span></span><span class="line"><span class="string">If-Match</span><span>:</span> <span class="string">"e0023aa4e"</span></span><div class="response"><span class="line"></span><span class="line"></span><span class="line"><span class="version">HTTP/1.0</span> <span class="status">204</span></span><span class="line"><span class="string">Content-Location</span><span>:</span> <span class="string">/file.txt</span></span><span class="line"><span class="string">ETag</span><span>:</span> <span class="string">"e0023aa4f"</span></span></div></div><span class="line"></span><span class="line"></span></div> |