Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
http: Fix encoding issue in raw file handler
Rūdolfs Ošiņš committed 1 year ago
commit 9d981f921094787b4ab3003f0ed58ce45ba04126
parent b3be042
1 file changed +1 -1
modified radicle-httpd/src/raw.rs
@@ -158,7 +158,7 @@ fn blob_response(
        MIMES
            .binary_search_by(|(k, _)| k.cmp(&ext))
            .map(|k| MIMES[k].1)
-
            .unwrap_or("text; charset=utf-8")
+
            .unwrap_or("text/plain; charset=utf-8")
    } else {
        "application/octet-stream"
    };