From df9b8f8ae7a540988c20fdffaaff2442c349873a Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 20 Jun 2014 21:31:41 -0700 Subject: Moving tokenize, percentEncode and percentDecode around. Fixing a few warnings. Workarounding c-ares and pthreads compilation issue with unicode. --- includes/Http.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/Http.h') 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 StringMap; typedef std::multimap StringMultiMap; -- cgit v1.2.3