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 | f640448109ca233d215ec1c07b795bd4313f428d (patch) | |
| tree | a45aa53cee1823a35a5bfa64e57bf86d58c10318 /include/ricochet/net/http_client.hh | |
| parent | 0c214c3b0a94b1286ef252d6e57c153dd82f134f (diff) | |
| download | rwebbrowser-f640448109ca233d215ec1c07b795bd4313f428d.tar.gz rwebbrowser-f640448109ca233d215ec1c07b795bd4313f428d.tar.xz | |
feat: add binary file download support by parsing Content-Type headers
Diffstat (limited to 'include/ricochet/net/http_client.hh')
| -rw-r--r-- | include/ricochet/net/http_client.hh | 1 |
1 files changed, 1 insertions, 0 deletions
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<std::string, std::string> headers {}; std::string body {}; + std::string content_type {}; }; class HttpClient |
