13 lines
640 B
Swift
13 lines
640 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-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")!
|
|
}
|