MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / get_headers

Function get_headers

tools/server/server-http.cpp:365–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365static std::map<std::string, std::string> get_headers(const httplib::Request & req) {
366 std::map<std::string, std::string> headers;
367 for (const auto & [key, value] : req.headers) {
368 headers[key] = value;
369 }
370 return headers;
371}
372
373static std::string build_query_string(const httplib::Request & req) {
374 std::string qs;

Callers 2

getMethod · 0.85
postMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected