Skip to content
Snippets Groups Projects
Commit a4b2d7b2 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Added support for direct reading over WebDAV to IoComponentMgr

parent 58146ecb
No related branches found
No related tags found
1 merge request!580Added support for direct reading over WebDAV to IoComponentMgr
......@@ -208,7 +208,7 @@ StatusCode IoComponentMgr::io_register( IIoComponent* iocomponent, IIoComponentM
// 1. files read from eos, i.e. starting with "root:"
// 2. files read over http, i.e. starting either with 'http:' or with 'https:'
const std::string& tmp_name = ( pfn.empty() ? fname : pfn );
static const std::array<std::string, 4> prefixes = {"root:", "http:", "https:", "dcap:"};
static const std::array<std::string, 6> prefixes = {"root:", "http:", "https:", "dcap:", "dav:", "davs:"};
bool special_case = std::any_of( begin( prefixes ), end( prefixes ), [&]( const std::string& pf ) {
return boost::algorithm::starts_with( tmp_name, pf );
} );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment