Skip to content

Commit 803ca5a

Browse files
authored
Merge pull request #57 from ehaydenr/proxy-status
Make RFC 9209 proxy-status public
2 parents e635966 + 8fd0302 commit 803ca5a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Sources/HTTPTypes/HTTPFieldName.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,11 @@ extension HTTPField.Name {
393393
/// https://www.rfc-editor.org/rfc/rfc9110.html
394394
public static var proxyAuthorization: Self { .init(rawName: "Proxy-Authorization", canonicalName: "proxy-authorization") }
395395

396+
/// Proxy-Status
397+
///
398+
/// https://www.rfc-editor.org/rfc/rfc9209.html
399+
public static var proxyStatus: Self { .init(rawName: "Proxy-Status", canonicalName: "proxy-status") }
400+
396401
/// Range
397402
///
398403
/// https://www.rfc-editor.org/rfc/rfc9110.html
@@ -532,8 +537,6 @@ extension HTTPField.Name {
532537
static var secCHGeohash: Self { .init(rawName: "Sec-CH-Geohash", canonicalName: "sec-ch-geohash") }
533538
/// Client-Geohash
534539
static var clientGeohash: Self { .init(rawName: "Client-Geohash", canonicalName: "client-geohash") }
535-
/// Proxy-Status
536-
static var proxyStatus: Self { .init(rawName: "Proxy-Status", canonicalName: "proxy-status") }
537540
/// Proxy-QUIC-Forwarding
538541
static var proxyQUICForwarding: Self { .init(rawName: "Proxy-QUIC-Forwarding", canonicalName: "proxy-quic-forwarding") }
539542
/// Proxy-Config-Epoch

0 commit comments

Comments
 (0)