diff --git a/server/src/lib.rs b/server/src/lib.rs index f8d9ccc..44ab11c 100644 --- a/server/src/lib.rs +++ b/server/src/lib.rs @@ -217,7 +217,7 @@ impl Server { let response = http::response::Builder::new() .status(200) - .header("Content-Type", "application/json-rpc") + .header("Content-Type", "application/json") .body(data.as_bytes().to_owned()) .unwrap(); // As long as the hard-coded status code and content-type is correct, this won't fail.