This PR contains the latest updates from the generic Website template, which have been added while working on #loud-amsterdam. Reviewed-on: #1 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
17 lines
924 B
Swift
17 lines
924 B
Swift
import HTTPTypes
|
|
|
|
public extension HTTPField.Name {
|
|
/// The `Permissions-Policy` field name (not provided as a standard `HTTPField.Name`).
|
|
static let permissionsPolicy = Self("Permissions-Policy")!
|
|
/// The `Referrer-Policy` field name (not provided as a standard `HTTPField.Name`).
|
|
static let referrerPolicy = Self("Referrer-Policy")!
|
|
/// The `X-Robots-Tag` field name (not provided as a standard `HTTPField.Name`).
|
|
static let robotsTag = Self("X-Robots-Tag")!
|
|
/// The `X-Frame-Options` field name (not provided as a standard `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")!
|
|
}
|