We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2df41 commit 18faf73Copy full SHA for 18faf73
etc/plugins/TFile/P140_TCurlFile.C
@@ -0,0 +1,10 @@
1
+void P140_TCurlFile()
2
+{
3
+ TString configfeatures = gROOT->GetConfigFeatures();
4
+
5
+ if (configfeatures.Contains("curl") &&
6
+ (!configfeatures.Contains("davix") || gEnv->GetValue("Curl.ReplaceDavix", 0))) {
7
8
+ gPluginMgr->AddHandler("TFile", "^http[s]?:", "TCurlFile", "RCurlHttp", "TCurlFile(const char *, Option_t *)");
9
+ }
10
+}
0 commit comments