diff options
author | Egor Pugin <egor.pugin@gmail.com> | 2020-03-14 17:34:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-14 17:34:07 +0300 |
commit | b3e84e58d471412b9d26e173b77c757d93d57b19 (patch) | |
tree | 5ad991beda3975e8d8237562724e20f30d169d40 /include/tgbot/net/HttpParser.h | |
parent | 9afa9c4e97faa9a6d7e6089ec1f822047738fdec (diff) | |
parent | 64174491dac84c559db5c48ed850177fa3eb4da0 (diff) |
Merge pull request #133 from JellyBrick/master
Fix #127, #128 & Code quality improvements
Diffstat (limited to 'include/tgbot/net/HttpParser.h')
-rw-r--r-- | include/tgbot/net/HttpParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tgbot/net/HttpParser.h b/include/tgbot/net/HttpParser.h index 3f1095b..fabeacf 100644 --- a/include/tgbot/net/HttpParser.h +++ b/include/tgbot/net/HttpParser.h @@ -14,7 +14,7 @@ class TGBOT_API HttpParser { public: std::string generateRequest(const Url& url, const std::vector<HttpReqArg>& args, bool isKeepAlive = false) const; - std::string generateMultipartFormData(const std::vector<HttpReqArg>& args, const std::string& bondary) const; + std::string generateMultipartFormData(const std::vector<HttpReqArg>& args, const std::string& boundary) const; std::string generateMultipartBoundary(const std::vector<HttpReqArg>& args) const; std::string generateWwwFormUrlencoded(const std::vector<HttpReqArg>& args) const; std::string generateResponse(const std::string& data, const std::string& mimeType, unsigned short statusCode, const std::string& statusStr, bool isKeepAlive) const; |