From bc0000fed937e60d56ffd4b11a6d191fdf01c6d1 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sun, 17 Mar 2024 14:16:55 +0500 Subject: [PATCH] fix `Trying to set a forbidden header` error on DB course load --- beatrun/gamemodes/beatrun/gamemode/cl/CoursesDatabase.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/cl/CoursesDatabase.lua b/beatrun/gamemodes/beatrun/gamemode/cl/CoursesDatabase.lua index 7a5c1ee..f414c60 100644 --- a/beatrun/gamemodes/beatrun/gamemode/cl/CoursesDatabase.lua +++ b/beatrun/gamemodes/beatrun/gamemode/cl/CoursesDatabase.lua @@ -99,10 +99,7 @@ function GetCourse(sharecode) print("An error occurred: ", message) return false - end, { - ["User-Agent"] = "Valve/Steam HTTP Client 1.0 (4000)", - ["Accept-Encoding"] = "gzip" - }) + end) end concommand.Add("Beatrun_LoadCode", function(ply, cmd, args, argstr)