From ff42c726fa1c212ac091a296be98417f71dcabca Mon Sep 17 00:00:00 2001 From: nyne Date: Tue, 21 Jan 2025 15:15:11 +0800 Subject: [PATCH] Fix network header --- lib/network/cache.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/network/cache.dart b/lib/network/cache.dart index a2b6465..18bb514 100644 --- a/lib/network/cache.dart +++ b/lib/network/cache.dart @@ -135,6 +135,8 @@ class NetworkCacheManager implements Interceptor { } static bool compareHeaders(Map a, Map b) { + a = Map.from(a); + b = Map.from(b); const shouldIgnore = [ 'cache-time', 'prevent-parallel',