case-insensitive comparator for HTTP header names (RFC 7230)
| 27 | |
| 28 | // case-insensitive comparator for HTTP header names (RFC 7230) |
| 29 | struct CaseInsensitiveLess |
| 30 | { |
| 31 | using is_transparent = void; |
| 32 | |
| 33 | bool operator() (std::string_view a, std::string_view b) const |
| 34 | { |
| 35 | return boost::ilexicographical_compare(a, b); |
| 36 | } |
| 37 | }; |
| 38 | |
| 39 | struct URL |
| 40 | { |
nothing calls this directly
no outgoing calls
no test coverage detected