Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,21 @@
ContentRange
</a>
</li>
<li>
<a href="ETag.html">
ETag
</a>
</li>
<li>
<a href="ETagList.html">
ETagList
</a>
</li>
<li>
<a href="Precondition.html">
Precondition
</a>
</li>
<li>
<a href="CacheControl.html">
CacheControl
Expand All @@ -143,7 +158,10 @@ <h1>
<a href="./AcceptEncoding.html"><code>AcceptEncoding</code></a> and
<a href="./AcceptLanguage.html"><code>AcceptLanguage</code></a>, or the <code>Request</code> wrappers around them.
<a href="./Auth.html"><code>Auth</code></a> reads and writes the RFC 7235 authentication headers,
<a href="./ByteRange.html"><code>ByteRange</code></a> the RFC 9110 range headers.</p>
<a href="./ByteRange.html"><code>ByteRange</code></a> the RFC 9110 range headers, and
<a href="./Precondition.html"><code>Precondition</code></a> evaluates the RFC 9110 conditional request
headers — <code>If-Match</code>, <code>If-None-Match</code>, <code>If-Modified-Since</code> and
<code>If-Unmodified-Since</code> — into the <code>304</code> or <code>412</code> they demand.</p>
<h3>Parsing</h3>
<pre><code>(match (Request.parse &quot;GET / HTTP/1.1\r\nHost: example.com\r\n\r\n&quot;)
(Result.Success req) (println* (Request.verb &amp;req))
Expand Down