LSL.HttpMessageHandlers.FileSchemes This library provides a DelegatingHandler to be used with HttpClient's to handle the file: URI scheme. Registering the message handler services.AddHttpClient<MyClient>(c => c.AddFileSchemeMessageHandler());