| 55 | |
| 56 | template <typename T> |
| 57 | inline T CutHttpPrefixImpl(const T& url, bool ignorehttps) { |
| 58 | size_t prefixSize = GetHttpPrefixSizeImpl<typename T::char_type>(url.data(), TKnownSize(url.size()), ignorehttps); |
| 59 | if (prefixSize) |
| 60 | return url.substr(prefixSize); |
| 61 | return url; |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | namespace NUrl { |
no test coverage detected