2026-08-19 22:55:00 +02:00
|
|
|
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")!
|
2026-09-04 13:40:35 +00:00
|
|
|
/// The `X-Robots-Tag` field name (not provided as a standard `HTTPField.Name`).
|
|
|
|
|
static let robotsTag = Self("X-Robots-Tag")!
|
2026-08-19 22:55:00 +02:00
|
|
|
/// 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")!
|
2026-09-04 13:40:35 +00:00
|
|
|
/// The `X-Forwarded-Proto` field name (not provided as a standard `HTTPField.Name`).
|
|
|
|
|
static let xForwardedProto = Self("X-Forwarded-Proto")!
|
2026-08-19 22:55:00 +02:00
|
|
|
}
|