This commit is contained in:
JustArchi 2018-02-05 12:54:28 +01:00
parent 76e54fdb0a
commit d226e5db5a

View file

@ -733,7 +733,8 @@ namespace ArchiSteamFarm {
response.StatusCode = (ushort) statusCode;
}
response.AppendHeader("Access-Control-Allow-Origin", "*");
response.AddHeader("Access-Control-Allow-Origin", "*");
response.AddHeader("Date", DateTime.UtcNow.ToString("R"));
if (CompressableContentTypes.Contains(response.ContentType)) {
string acceptEncoding = request.Headers["Accept-Encoding"];