Add Content-Negotiation to actix-files
Đang mở
A-files
C-feature
- Ngôn ngữ chính
- Rust
- Star
- 24.8k
- Fork
- 1.9k
- Merge trung bình
- 23 giờ 10 phút
- Pull request đã merge (30 ngày)
- 26
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.