summaryrefslogtreecommitdiff
path: root/includes/Http.h
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-06-20 21:31:41 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-06-20 21:31:41 -0700
commitdf9b8f8ae7a540988c20fdffaaff2442c349873a (patch)
treeff9be69934b6896c8d7e91412b63dd9cd9b37341 /includes/Http.h
parentfcc66ce9f5d6db995536beab5539fd47e490bf14 (diff)
Moving tokenize, percentEncode and percentDecode around. Fixing a few warnings. Workarounding c-ares and pthreads compilation issue with unicode.
Diffstat (limited to 'includes/Http.h')
-rw-r--r--includes/Http.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/Http.h b/includes/Http.h
index f0651f7..58edd23 100644
--- a/includes/Http.h
+++ b/includes/Http.h
@@ -15,8 +15,9 @@ namespace Balau {
namespace Http {
const char * getStatusMsg(int httpStatus);
-
const char * getContentType(const String & extension);
+String percentEncode(const String & src);
+String percentDecode(const String & src);
typedef std::map<String, String> StringMap;
typedef std::multimap<String, String> StringMultiMap;