Guess mime type based on path
modified radicle-httpd/Cargo.lock
@@ -1469,6 +1469,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -2019,6 +2029,7 @@ dependencies = [
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -2942,6 +2953,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-httpd/Cargo.toml
@@ -30,6 +30,7 @@ hyper = { version = "1.6.0", default-features = false }
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-httpd/src/raw.rs
@@ -74,7 +74,7 @@ async fn file_by_commit_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -173,22 +173,24 @@ async fn file_by_canonical_head_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|