diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-11 16:04:02 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-11 16:04:52 +0200 |
commit | d1920de838b17847b2e8a1520af0d82e670d5558 (patch) | |
tree | 520220da38f258f788a42ee0b13fac74d980acbc /include | |
parent | 2be5a938f906fa1ec95b424a0efd5fab3a1acdc7 (diff) |
Parse content disposition better (when it contains encoding)
Diffstat (limited to 'include')
-rw-r--r-- | include/NetUtils.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/NetUtils.hpp b/include/NetUtils.hpp index bacafc7..a142884 100644 --- a/include/NetUtils.hpp +++ b/include/NetUtils.hpp @@ -12,6 +12,7 @@ namespace QuickMedia { void html_escape_sequences(std::string &str); void html_unescape_sequences(std::string &str); std::string url_param_encode(const std::string ¶m); + std::string url_param_decode(const std::string ¶m); std::vector<Range> extract_urls(const std::string &str); std::vector<std::string> ranges_get_strings(const std::string &str, const std::vector<Range> &ranges); void convert_utf8_to_utf32_ranges(const std::string &str, std::vector<Range> &ranges); |