From 645937ef98513fce77c68014e7ebb4088ba5d08b Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Wed, 15 Sep 2021 22:26:18 +0200 Subject: Adde reminder that the content type is embedded in the IoBuffer --- zenhttp/include/zenhttp/httpclient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3