allow whitespaces for duet upload

* now url_encoding characters which could not used for URLs
This commit is contained in:
Martin Loidl 2018-09-04 23:55:37 +02:00
parent 22569de00f
commit e1417f1827
3 changed files with 19 additions and 3 deletions

View file

@ -98,6 +98,9 @@ public:
// Tells whether current backend supports seting up a CA file using ca_file()
static bool ca_file_supported();
// converts the given string to an url_encoded_string
static std::string url_encode(const std::string &str);
private:
Http(const std::string &url);