HTTPS redirect middleware for the Infrastructure package (#52)
This commit is contained in:
@@ -9,4 +9,6 @@ public extension HTTPField.Name {
|
||||
static let frameOptions = Self("X-Frame-Options")!
|
||||
/// The `X-Forwarded-For` field name (not provided as a standard `HTTPField.Name`).
|
||||
static let xForwardedFor = Self("X-Forwarded-For")!
|
||||
/// The `X-Forwarded-Proto` field name (not provided as a standard `HTTPField.Name`).
|
||||
static let xForwardedProto = Self("X-Forwarded-Proto")!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user