MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / has_header

Function has_header

examples/server/httplib.h:3395–3397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3393#endif
3394
3395inline bool has_header(const Headers &headers, const std::string &key) {
3396 return headers.find(key) != headers.end();
3397}
3398
3399inline const char *get_header_value(const Headers &headers,
3400 const std::string &key, size_t id,

Callers 2

read_contentFunction · 0.85
has_headerMethod · 0.85

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected