httpd: Infer mime type of file blob in `file_by_oid` handler
modified radicle-httpd/Cargo.lock
@@ -376,6 +376,17 @@ dependencies = [
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1006,6 +1017,15 @@ dependencies = [
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1683,6 +1703,7 @@ dependencies = [
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -2565,6 +2586,12 @@ dependencies = [
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-httpd/Cargo.toml
@@ -27,6 +27,7 @@ base64 = { version = "0.22.1" }
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-httpd/src/raw.rs
@@ -161,7 +161,7 @@ fn blob_response(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -172,6 +172,8 @@ async fn file_by_oid_handler(
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -180,10 +182,10 @@ async fn file_by_oid_handler(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|