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

Method has_header

examples/server/httplib.h:4835–4837  ·  view source on GitHub ↗

Request implementation

Source from the content-addressed store, hash-verified

4833
4834// Request implementation
4835inline bool Request::has_header(const std::string &key) const {
4836 return detail::has_header(headers, key);
4837}
4838
4839inline std::string Request::get_header_value(const std::string &key,
4840 size_t id) const {

Callers 6

parse_www_authenticateFunction · 0.80
write_response_coreMethod · 0.80
read_content_coreMethod · 0.80
handle_file_requestMethod · 0.80
process_requestMethod · 0.80
write_requestMethod · 0.80

Calls 3

has_headerFunction · 0.85
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected