| 15795 | } |
| 15796 | |
| 15797 | tl::expected<std::string, errors> url_pattern_init::process_hostname( |
| 15798 | std::string_view value, process_type type) { |
| 15799 | ada_log("process_hostname value=", value, " type=", type); |
| 15800 | // If type is "pattern" then return value. |
| 15801 | if (type == process_type::pattern) { |
| 15802 | return std::string(value); |
| 15803 | } |
| 15804 | // Return the result of running canonicalize a hostname given value. |
| 15805 | return url_pattern_helpers::canonicalize_hostname(value); |
| 15806 | } |
| 15807 | |
| 15808 | tl::expected<std::string, errors> url_pattern_init::process_port( |
| 15809 | std::string_view port, std::string_view protocol, process_type type) { |
nothing calls this directly
no test coverage detected