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',