File tree 1 file changed +7
-7
lines changed
flutter_cache_manager/lib/src/web 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,13 @@ class WebHelper {
118
118
CacheObject cacheObject, FileServiceResponse response) async * {
119
119
final hasNewFile = statusCodesNewFile.contains (response.statusCode);
120
120
final keepOldFile = statusCodesFileNotChanged.contains (response.statusCode);
121
- if (! hasNewFile && ! keepOldFile) {
122
- throw HttpExceptionWithStatus (
123
- response.statusCode,
124
- 'Invalid statusCode: ${response .statusCode }' ,
125
- uri: Uri .parse (cacheObject.url),
126
- );
127
- }
121
+ // if (!hasNewFile && !keepOldFile) {
122
+ // throw HttpExceptionWithStatus(
123
+ // response.statusCode,
124
+ // 'Invalid statusCode: ${response.statusCode}',
125
+ // uri: Uri.parse(cacheObject.url),
126
+ // );
127
+ // }
128
128
129
129
final oldCacheObject = cacheObject;
130
130
var newCacheObject = _setDataFromHeaders (cacheObject, response);
You can’t perform that action at this time.
0 commit comments