diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-13 02:11:27 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-13 02:11:27 +0800 |
| commit | 331fde79776286de58247f565839b1eae154f7c4 (patch) | |
| tree | 71d3a682c0c1e3d7f28f8122bdfbcf3a8003ff40 /ricochet/include | |
| parent | a01713ea09a9c451cfb556d4b4c7fd17079b833a (diff) | |
| download | rcc-project-331fde79776286de58247f565839b1eae154f7c4.tar.gz rcc-project-331fde79776286de58247f565839b1eae154f7c4.tar.xz | |
feat: add binary file download support by parsing Content-Type headers
Diffstat (limited to 'ricochet/include')
| -rw-r--r-- | ricochet/include/ricochet/net/http_client.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ricochet/include/ricochet/net/http_client.hh b/ricochet/include/ricochet/net/http_client.hh index 45c92e8..f6d8aa3 100644 --- a/ricochet/include/ricochet/net/http_client.hh +++ b/ricochet/include/ricochet/net/http_client.hh @@ -33,6 +33,7 @@ struct HttpResponse int status_code { 0 }; std::unordered_map<std::string, std::string> headers {}; std::string body {}; + std::string content_type {}; }; class HttpClient |
