diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2019-03-30 14:49:18 +0100 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2019-03-30 17:13:57 +0100 |
| commit | 3dbf44417a7cc50e7e173bd710a5fcb904bdfe20 (patch) | |
| tree | e8536a816c05afe21b04b5ad73881332ab2991b8 /Source/Core/Common/HttpRequest.h | |
| parent | 0bce1c509de46e3be3eeef732f264f1b17e3e333 (diff) | |
Common/HttpRequest: Implement EscapeComponent
Diffstat (limited to 'Source/Core/Common/HttpRequest.h')
| -rw-r--r-- | Source/Core/Common/HttpRequest.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Common/HttpRequest.h b/Source/Core/Common/HttpRequest.h index 17e31ff354..a557ce1ec0 100644 --- a/Source/Core/Common/HttpRequest.h +++ b/Source/Core/Common/HttpRequest.h @@ -34,6 +34,7 @@ public: void SetCookies(const std::string& cookies); void UseIPv4(); void FollowRedirects(long max = 1); + const std::string EscapeComponent(const std::string& string); Response Get(const std::string& url, const Headers& headers = {}); Response Post(const std::string& url, const std::vector<u8>& payload, const Headers& headers = {}); |
