http: Fix encoding issue in raw file handler
Turns out “content-type: text; charset=utf-8” wasn’t valid, it had to be “content-type: text/plain; charset=utf-8” for browsers to recognise it properly.
4 files changed
+4
-4
b3be042b
→
dd81b59f
modified radicle-httpd/Cargo.lock
@@ -1675,7 +1675,7 @@ dependencies = [
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/Cargo.toml
@@ -3,7 +3,7 @@ name = "radicle-httpd"
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/api.rs
@@ -30,7 +30,7 @@ use crate::Options;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-httpd/src/raw.rs
@@ -158,7 +158,7 @@ fn blob_response(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|