Table of Contents

Sparkle.Module.Static Namespace

Classes

Name Description
TStaticModule HTTP server module that serves static files from a directory in the local file system.

Enumerations

Name Description
TFolderUrlMode Controls how a TStaticModule handles the trailing slash of URLs that map to a directory, issuing an HTTP 301 redirect to the canonical form when needed.

Constants

Name Description
NoRedirect Serve the directory request as-is, without performing any trailing-slash redirection.
RedirectFromSlash When a directory is requested with a trailing slash, redirect to the same URL with the trailing slash removed.
RedirectToSlash When a directory is requested without a trailing slash, redirect to the same URL with a trailing slash appended.