Skip to content
Closed
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions proposals/http/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ consistent between implementations.
<p>Field names are always strings.
<p>Field names should always be treated as case insensitive by the <a href="#fields"><code>fields</code></a>
resource for the purposes of equality checking.</p>
<p>The <a href="#field_name"><code>field-name</code></a> syntax is defined by RFC 9110, which allows only ASCII
characters, and is the ground truth for what should be accepted as a
field name:
<a href="https://www.rfc-editor.org/rfc/rfc9110#section-5.1">https://www.rfc-editor.org/rfc/rfc9110#section-5.1</a></p>
<h4><a id="field_value"></a><code>type field-value</code></h4>
<p><a href="#field_value"><a href="#field_value"><code>field-value</code></a></a></p>
<p>Field values should always be ASCII strings. However, in
Expand Down
4 changes: 4 additions & 0 deletions proposals/http/service.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ consistent between implementations.
<p>Field names are always strings.
<p>Field names should always be treated as case insensitive by the <a href="#fields"><code>fields</code></a>
resource for the purposes of equality checking.</p>
<p>The <a href="#field_name"><code>field-name</code></a> syntax is defined by RFC 9110, which allows only ASCII
characters, and is the ground truth for what should be accepted as a
field name:
<a href="https://www.rfc-editor.org/rfc/rfc9110#section-5.1">https://www.rfc-editor.org/rfc/rfc9110#section-5.1</a></p>
<h4><a id="field_value"></a><code>type field-value</code></h4>
<p><a href="#field_value"><a href="#field_value"><code>field-value</code></a></a></p>
<p>Field values should always be ASCII strings. However, in
Expand Down
5 changes: 5 additions & 0 deletions proposals/http/wit/types.wit
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ interface types {
///
/// Field names should always be treated as case insensitive by the `fields`
/// resource for the purposes of equality checking.
///
/// The `field-name` syntax is defined by RFC 9110, which allows only ASCII
/// characters, and is the ground truth for what should be accepted as a
/// field name:
/// <https://www.rfc-editor.org/rfc/rfc9110#section-5.1>
@since(version = 0.3.0)
type field-name = string;

Expand Down
Loading