MCPcopy Create free account
hub / github.com/Selectively11/CloudRedirect / HeaderCallback

Function HeaderCallback

src/platform/linux/http_transport_linux.cpp:140–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static size_t HeaderCallback(const char* data, size_t size, size_t nmemb, std::string* out) {
141 size_t total = size * nmemb;
142 out->append(data, total);
143 return total;
144}
145
146// Extract Location header from raw header block
147static std::string ExtractLocation(const std::string& headers) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected