actix / actix/actix-web

Add Content-Negotiation to actix-files

Offen
#1,718 0 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
A-files C-feature
Vorherrschende Sprache
Rust
Sterne
24.8k
Forks
1.9k
Ø Merge
23 Std. 10 Min.
Gemergte PRs (30 T.)
26

Beschreibung

For the Semantic Web/Linked Data community, content negotiation is an important feature.

We could implement it similar to [how it's described here](https://pieterheyvaert.com/blog/2019/02/25/nginx-conneg/), where requesting `http://localhost:8080/test` with `Accept: text/turtle` then makes the server look for `test.ttl` on disk.

This could be enabled or disabled in the actix-files service.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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