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 aa1544c commit a67d046Copy full SHA for a67d046
etc/plugins/TFile/P140_TCurlFile.C
@@ -0,0 +1,15 @@
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(
9
+ "TFile",
10
+ "^http[s]?:",
11
+ "TCurlFile",
12
+ "RCurlHttp",
13
+ "TCurlFile(const char *, Option_t *)");
14
+ }
15
+}
0 commit comments