mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Make ACZ status host explicitly respond with UTF-8 charset
See 0b2b814e4f
This commit is contained in:
@@ -92,7 +92,7 @@ namespace Robust.Server.ServerStatus
|
||||
{
|
||||
context.ResponseHeaders.Add("Content-Encoding", "zstd");
|
||||
|
||||
await context.RespondAsync(result.ManifestData, HttpStatusCode.OK);
|
||||
await context.RespondAsync(result.ManifestData, HttpStatusCode.OK, "text/plain; charset=utf-8");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -110,7 +110,7 @@ namespace Robust.Server.ServerStatus
|
||||
}
|
||||
else
|
||||
{
|
||||
await context.RespondAsync(result.ManifestData, HttpStatusCode.OK);
|
||||
await context.RespondAsync(result.ManifestData, HttpStatusCode.OK, "text/plain; charset=utf-8");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user