| 291 | } |
| 292 | |
| 293 | std::string_view |
| 294 | TransactionData::remove_scheme_prefix(std::string_view url) |
| 295 | { |
| 296 | const auto scheme_separator = url.find("://"); |
| 297 | if (scheme_separator == std::string::npos) { |
| 298 | return url; |
| 299 | } |
| 300 | url.remove_prefix(scheme_separator + 3); |
| 301 | return url; |
| 302 | } |
| 303 | |
| 304 | bool |
| 305 | TransactionData::init_helper(bool dump_body) |
nothing calls this directly
no test coverage detected