//! Task-local request context accessible from any handler without a `Request` parameter.
task_local!
/// Return the `Host` header value (scheme-less, port stripped) for the current request.
///
/// Available inside any handler executed by the ferro server. Returns `None` outside
/// of a request context (e.g. during tests or background jobs).
/// Return the `X-FJUI-Target` header value for the current request, if any.
///
/// Set by the server when the header is present. Used by the JSON-UI fragment
/// response path to skip full-page layout and return only the target subtree.