Valum.Static.ServeFlags – valum-0.3 Reference Manual
ServeFlags
Description:
[
Flags
]
[
Version
( since =
"0.3"
) ]
public
enum
ServeFlags
Flags used to enble or disable options for serving static resources.
Namespace:
Valum.Static
Package:
valum-0.3
Content:
Enum values:
ENABLE_ETAG
-
Produce an 'ETag' header and raise a
Valum.Redirection.NOT_MODIFIED
if the resource has already been transmitted. If not available, it will fallback on either
Valum.Static.ServeFlags.ENABLE_LAST_MODIFIED
or no caching at all.
ENABLE_LAST_MODIFIED
-
Produce a 'Last-Modified' header and raise a
Valum.Redirection.NOT_MODIFIED
if the resource has already been transmitted.
FORBID_ON_MISSING_RIGHTS
-
Raise a
ClientError.FORBIDDEN
if rights are missing on the resource rather than calling 'next'.
NONE
X_SENDFILE
-
If supported, generate a 'X-Sendfile' header instead of delivering the actual resource in the response body.
2022 vala-language.org