Hwaro::Services::CaseMismatchHandler
Inherits HTTP::Handler < Reference < Object
Answers 404 for a path that exists on disk only under another case.
macOS and Windows file systems ignore case, so /About/ resolved to
about/ and served 200 — a link that works locally and 404s on every
case-sensitive static host. File.realpath returns the on-disk
spelling, so a result that differs from the request only by case is
treated like any other miss. A no-op on case-sensitive file systems.
Constructors
Instance methods
call(context)
Source