diff --git a/tests/Bonsai.ML.Lds.Python.Tests/ReceptiveFieldSimpleCellTest.cs b/tests/Bonsai.ML.Lds.Python.Tests/ReceptiveFieldSimpleCellTest.cs index 26188e3e..61de29a4 100644 --- a/tests/Bonsai.ML.Lds.Python.Tests/ReceptiveFieldSimpleCellTest.cs +++ b/tests/Bonsai.ML.Lds.Python.Tests/ReceptiveFieldSimpleCellTest.cs @@ -28,6 +28,7 @@ private static void DownloadData(string basePath) byte[] responseBytes; using (var httpClient = new HttpClient()) { + httpClient.DefaultRequestHeaders.Add("User-Agent", "Bonsai.ML.Tests"); responseBytes = httpClient.GetByteArrayAsync(zipFileUrl).Result; Console.WriteLine("File downloaded successfully."); }