aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-15 22:26:18 +0200
committerStefan Boberg <[email protected]>2021-09-15 22:26:18 +0200
commit645937ef98513fce77c68014e7ebb4088ba5d08b (patch)
tree1df10de3278c3944a6744276865c679b133d84c9
parentAdded support for compressed binary MIME type conversion (diff)
downloadzen-645937ef98513fce77c68014e7ebb4088ba5d08b.tar.xz
zen-645937ef98513fce77c68014e7ebb4088ba5d08b.zip
Adde reminder that the content type is embedded in the IoBuffer
-rw-r--r--zenhttp/include/zenhttp/httpclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenhttp/include/zenhttp/httpclient.h b/zenhttp/include/zenhttp/httpclient.h
index c3bdf0506..7d9db7198 100644
--- a/zenhttp/include/zenhttp/httpclient.h
+++ b/zenhttp/include/zenhttp/httpclient.h
@@ -34,7 +34,7 @@ public:
struct Response
{
int StatusCode = 0;
- IoBuffer ResponsePayload;
+ IoBuffer ResponsePayload; // Note: this also includes the content type
};
[[nodiscard]] Response TransactPackage(std::string_view Url, CbPackage Package);