lib/curl/Headers: central type definition for the header map
This commit is contained in:

committed by
Max Kellermann

parent
fdc0329e64
commit
1e548fb6e3
@@ -41,8 +41,7 @@ public:
|
||||
}
|
||||
|
||||
/* virtual methods from CurlResponseHandler */
|
||||
void OnHeaders(unsigned status,
|
||||
std::multimap<std::string, std::string> &&headers) override {
|
||||
void OnHeaders(unsigned status, Curl::Headers &&headers) override {
|
||||
fprintf(stderr, "status: %u\n", status);
|
||||
for (const auto &i : headers)
|
||||
fprintf(stderr, "%s: %s\n",
|
||||
|
Reference in New Issue
Block a user