Mercurial > hg > orthanc
diff UnitTestsSources/LuaTests.cpp @ 2386:883387e2b379
remove dependendy upon ULg Montefiore Web server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Aug 2017 09:15:06 +0200 |
parents | f8ef157f2d73 |
children | 878b59270859 |
line wrap: on
line diff
--- a/UnitTestsSources/LuaTests.cpp Wed Aug 30 09:04:14 2017 +0200 +++ b/UnitTestsSources/LuaTests.cpp Wed Aug 30 09:15:06 2017 +0200 @@ -288,11 +288,10 @@ Orthanc::LuaContext lua; #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1 - // It is not guaranteed that the URL on server - // "www.montefiore.ulg.ac.be" will work forever. We switched to it, - // as the "www.orthanc-server.com" now mandatory uses HTTPS. - const std::string BASE = "http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/"; - //const std::string BASE = "http://www.orthanc-server.com/downloads/third-party/"; + // The "http://www.orthanc-server.com/downloads/third-party/" does + // not automatically redirect to HTTPS, so we cas use it even if the + // OpenSSL/HTTPS support is disabled in curl + const std::string BASE = "http://www.orthanc-server.com/downloads/third-party/"; lua.Execute("JSON = loadstring(HttpGet('" + BASE + "JSON.lua')) ()"); const std::string url(BASE + "Product.json");