Documentation
¶
Overview ¶
Package httpadapter exposes authenticated root-scoped REST and signed transfers. Handler projects public identities according to each root's capabilities and binds direct transfers to their authorized path, execution scope and optional file identity. The application remains responsible for user authorization.
Index ¶
Constants ¶
const ExecutionHeader = "X-Filegate-Execution"
ExecutionHeader is accepted only on backend-authenticated operations. Direct transfers use the identity authenticated by their capability instead.
const MaxHeaderBytes = 64 << 10
MaxHeaderBytes is the daemon's combined request-line and header limit. Listing responses reserve additional space for client-added headers.
Variables ¶
This section is empty.
Functions ¶
func ValidateDownloadName ¶
ValidateDownloadName validates one presentation filename, never a filesystem path. Empty optional request fields select the original path's basename.