Baseflow / Baseflow/flutter_cache_manager

Http response headers

Offen
#248 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
type: enhancement
Vorherrschende Sprache
Dart
Sterne
809
Forks
510
Ø Merge
6 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
dart, flutter
Bereich
mobile
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.