Baseflow / Baseflow/flutter_cache_manager
ClientException: Redirect limit exceeded
- Dominant language
- Dart
- Stars
- 809
- Forks
- 510
- Avg merge
- 6m
- Merged PRs (30d)
- 1
Description
## 🐛 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
Contributor guide
Research direction
Start by reproducing the Android failure through DefaultCacheManager().getFileStream with the reported Megaphone URL and inspect the redirect handling it reaches. Done means the file downloads successfully instead of raising ClientException: Redirect limit exceeded, with coverage for this regression if the project’s existing tests support it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100