| 138 | } |
| 139 | |
| 140 | static 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 |
| 147 | static std::string ExtractLocation(const std::string& headers) { |
nothing calls this directly
no outgoing calls
no test coverage detected