Skip to content

Commit 2772cc4

Browse files
committed
Website generation with Couscous
1 parent 06048c6 commit 2772cc4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

http/request.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ <h3 id="headers">Headers</h3>
366366
request.headers["Authorization"] = ... my auth token</code></pre>
367367
<h4 id="extending-headers">Extending Headers</h4>
368368
<p>We generally seek to improve code bases by removing stringly typed code where possible. We can add variables to the headers using generic extensions.</p>
369-
<pre><code class="language-swift">extension KeyAccessible where Key == HeaderKey, Value == String {
369+
<pre><code class="language-swift">extension HTTP.KeyAccessible where Key == HeaderKey, Value == String {
370370
var customKey: String? {
371371
get {
372372
return self["Custom-Key"]

http/response.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ <h4 id="headers">Headers</h4>
344344
response.headers["Authorization"] = ... my auth token</code></pre>
345345
<h5 id="extending-headers">Extending Headers</h5>
346346
<p>We generally seek to improve code bases by removing stringly typed code where possible. We can add variables to the headers using generic extensions.</p>
347-
<pre><code class="language-swift">extension KeyAccessible where Key == HeaderKey, Value == String {
347+
<pre><code class="language-swift">extension HTTP.KeyAccessible where Key == HeaderKey, Value == String {
348348
var customKey: String? {
349349
get {
350350
return self["Custom-Key"]

0 commit comments

Comments
 (0)