actix / actix/actix-web

Add Content-Negotiation to actix-files

Đang mở
#1,718 0 bình luận 3 reaction 0 người được giao Xem trên GitHub
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.