From f640448109ca233d215ec1c07b795bd4313f428d Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Mon, 13 Apr 2026 02:11:27 +0800 Subject: feat: add binary file download support by parsing Content-Type headers --- include/ricochet/net/http_client.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'include/ricochet/net/http_client.hh') diff --git a/include/ricochet/net/http_client.hh b/include/ricochet/net/http_client.hh index 45c92e8..f6d8aa3 100644 --- a/include/ricochet/net/http_client.hh +++ b/include/ricochet/net/http_client.hh @@ -33,6 +33,7 @@ struct HttpResponse int status_code { 0 }; std::unordered_map headers {}; std::string body {}; + std::string content_type {}; }; class HttpClient -- cgit v1.2.3