Wifi Duet upload: Improved some string copying.

This commit is contained in:
Vojtech Bubnik 2020-10-21 14:42:08 +02:00
parent 70e44c3e8e
commit acbf25681a
2 changed files with 6 additions and 6 deletions

View file

@ -86,7 +86,7 @@ public:
// Set the POST request body.
// The data is used verbatim, it is not additionally encoded in any way.
// This can be used for hosts which do not support multipart requests.
Http& set_post_body(const std::string body);
Http& set_post_body(const std::string &body);
// Set the file contents as a PUT request body.
// The data is used verbatim, it is not additionally encoded in any way.