Keep HTTP and persistence in the app. Decode response metadata and framing in the crate, and fall back when the server filename is invalid.