Baseflow / Baseflow/flutter_cache_manager

ClientException: Redirect limit exceeded

Aperta
#448 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Dart
Stelle
809
Fork
510
Merge medio
6m
PR unite (30g)
1

Descrizione

## 🐛 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
dart, flutter
Ambito
mobile, networking
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.