antoinechalifour / antoinechalifour/memento
Add a "matchPolicy" option
Offen
enhancement
hacktoberfest
- Vorherrschende Sprache
- TypeScript
- Sterne
- 392
- Forks
- 10
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
To determine how Memento matches incoming requests with the cache. Could be something like
- `matchPolicy: 'all'` -> by default, same as current behaviour
- `matchPolicy: ['headers', 'body']` to match an incoming request based on their URL, headers and body
- `matchPolicy: ['headers.Authorization']` to match an incoming request based on the URL and the `authorization` header
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.