Baseflow / Baseflow/flutter_cache_manager

Http response headers

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

Descrizione

## 🚀 Feature Requests

Currently the CacheManager only returns the body of the http response. It will be really useful to be able to retrieve also the respnse headers.

### Contextualize the feature

Some api for example insert the total number of pages (for pagination) in the response header, and currently is impossible to read it.

### Describe the feature
The response file could be a json that contains both the headers and the body of the http response.

### Platforms affected (mark all that apply)
- [x] :iphone: iOS
- [x] :robot: Android

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by tracing the CacheManager response handling and the response file representation mentioned in the issue. Determine how headers and body can be exposed together without breaking existing body-only callers. Done means callers on iOS and Android can retrieve response headers, including pagination metadata, alongside the cached body.

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

Valutazione

Stack tecnologico
dart, flutter
Ambito
mobile
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.