pub async fn serve_file( path: impl AsRef<Path>, req: &Request, caching: Option<Caching>, ) -> Result<Response>
fs
returns io::Error not found if the path is a directory