diff options
Diffstat (limited to 'stats_module')
-rw-r--r-- | stats_module/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stats_module/src/lib.rs b/stats_module/src/lib.rs index 47a5e6f..18a7c2b 100644 --- a/stats_module/src/lib.rs +++ b/stats_module/src/lib.rs @@ -63,7 +63,7 @@ extern "C" fn cgi_handle(req: *const ffi::ModuleRequest) -> *const ffi::ModuleRe } body.push_str("</pre></code></p>"); - response.body(body.into_bytes()); + response.body(body.into_bytes()).header(c"Content-Type", c"text/html"); response.into_mod_response(200) } |