MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / CaseInsensitiveLess

Class CaseInsensitiveLess

libi2pd/HTTP.h:29–37  ·  view source on GitHub ↗

case-insensitive comparator for HTTP header names (RFC 7230)

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected