flutter_cache_manager
flutter_cache_manager copied to clipboard
ClientException: Redirect limit exceeded
🐛 Bug Report
Trying to download from the following uri:
https://traffic.megaphone.fm/ROOSTER7204211183.mp3?updated=1708735557
results in the exception:
ClientException: Redirect limit exceeded, uri=https://traffic.megaphone.fm/ROOSTER7204211183.mp3?updated=1708735557
Expected behavior
Download the file.
Reproduction steps
DefaultCacheManager()
.getFileStream("https://traffic.megaphone.fm/ROOSTER7204211183.mp3?updated=1708735557", withProgress: true)
Configuration
Version: v3.3.0
Platform:
- [ ] :iphone: iOS
- [X ] :robot: Android
..any news? This is still relevant :(
I now edited file_service.dart function "get" and added:
req.maxRedirects = 20;
In my opinion this should be configurable by default using some sort of parameter. Should I create a pull request?