MCPcopy Create free account
hub / github.com/catboost/catboost / IsHttps

Function IsHttps

library/cpp/neh/location.cpp:8–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7namespace {
8 bool IsHttps(TStringBuf scheme) {
9 return TStringBuf("https") == scheme || TStringBuf("fulls") == scheme || TStringBuf("posts") == scheme;
10 }
11
12 bool SplitUserInfo(TStringBuf& path, TStringBuf& userInfo, bool mayHaveSpecificUserInfo) {
13 const size_t pos = path.find_first_of(mayHaveSpecificUserInfo ? TStringBuf("?@") : TStringBuf("?@/"));

Callers 2

TParsedLocationMethod · 0.85
GetPortMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected